:root {
  --grey-0:    #FFFFFF;
  --grey-10:   #F8F9FC;
  --grey-20:   #EFF2F7;
  --grey-50:   #E6EAF0;
  --grey-100:  #E1E6EC;
  --grey-300:  #C9CFD8;
  --grey-600:  #6A6F78;
  --grey-800:  #41444A;
  --grey-1000: #212226;
  --grey-1200: #121317;

  --bg:        var(--grey-0);
  --bg-soft:   var(--grey-10);
  --bg-2:      var(--grey-20);
  --fg:        var(--grey-1200);
  --fg-dim:    var(--grey-800);
  --fg-mute:   var(--grey-600);
  --line:      rgba(33, 34, 38, 0.10);
  --line-2:    rgba(33, 34, 38, 0.16);

  --bolt-blue:   #1f6dff;
  --bolt-cyan:   #22d3ee;
  --bolt-violet: #7a4dff;
  --bolt-yellow: #ffcc33;
  --bolt-pink:   #ff5da2;

  --container: 100%;
  --container-pad: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ============================== NAV / HEADER (from old site, verbatim) ============================== */

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-bg: #f4f4f4;
  --header-margin: 4px;
  --header-height: 48px;
  --header-height-compact: 44px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-jakarta: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition-duration: 0.5s;
  --transition-duration-medium: 0.35s;
  --transition-duration-slower: 0.7s;
  --transition-duration-slowest: 1s;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-power3-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-power4-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.45, 0.05, 0.55, 0.95);
  --z-index-header: 1000;
}
@media (min-width: 1000px) {
  :root {
    --header-height: 52px;
    --header-height-compact: 46px;
    --header-margin: 6px;
  }
}

/* Custom cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-black);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s var(--ease-power3-out),
    height 0.25s var(--ease-power3-out),
    background-color 0.25s var(--ease-power3-out),
    border-color 0.25s var(--ease-power3-out),
    opacity 0.2s;
  will-change: transform;
  background-color: transparent;
}
.cursor.is-hover {
  width: 14px;
  height: 14px;
  background-color: var(--color-black);
  border-color: var(--color-black);
}
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* Typography helpers used by the header */
.text-xs { font-size: 0.75rem; letter-spacing: 0.04em; }
.text-sm { font-size: 0.875rem; }
.text-md { font-size: 0.75em; opacity: 0.5; margin-left: 2px; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.375rem; line-height: 1.35; }
.heading-sm { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-80 { opacity: 0.8; }

.hover-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size var(--transition-duration-medium) var(--ease);
}
.c-header_link:hover .hover-underline,
.c-menu_secondary-link:hover { background-size: 100% 1px; }


.c-header,
.c-header * {
  font-family: var(--font-jakarta);
}
.c-header ul, .c-header ol { list-style: none; padding: 0; margin: 0; }
.c-header button {
  font-family: var(--font-jakarta);
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  color: inherit;
}
.c-header a { color: inherit; text-decoration: none; }

.c-header {
  position: fixed;
  top: var(--header-margin);
  left: 0;
  right: 0;
  z-index: var(--z-index-header);
  height: calc(100svh - var(--header-margin) * 2);
  pointer-events: none;
  /* default to black text since first hero is light; flips white when over dark sections via JS */
  color: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.c-header::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: var(--color-black);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-duration);
  pointer-events: none;
}
body.has-menu-open .c-header::before,
body.has-dropdown-open .c-header::before {
  opacity: 0.4;
  pointer-events: auto;
}

body.is-on-dark .c-header { color: var(--color-white); }
body.is-on-dark.is-scrolled .c-header { color: var(--color-white); }
body.is-on-dark.is-scrolled .c-header_inner {
  background-color: rgba(0, 0, 0, 0.50);
  box-shadow:
    0 10px 30px -12px rgba(0, 0, 0, 0.55),
    0 4px 10px -4px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.c-header_inner {
  position: relative;
  width: calc(100% - var(--header-margin) * 2);
  max-width: 100%;
  border-radius: var(--radius-md);
  pointer-events: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    max-width 0.6s var(--ease-power3-out),
    height 0.5s var(--ease-power3-out),
    background-color 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease),
    -webkit-backdrop-filter 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

body.is-scrolled .c-header { color: var(--color-black); }
body.is-scrolled .c-header_inner {
  max-width: 820px;
  background-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    0 10px 30px -12px rgba(0, 0, 0, 0.18),
    0 4px 10px -4px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
body.is-scrolled .c-header_bar {
  padding: 0 28px;
}
@media (max-width: 999px) {
  body.is-scrolled .c-header_inner { max-width: 96%; }
  body.is-scrolled .c-header_bar { padding: 0 20px; }
}


.c-header_bar {
  position: relative;
  height: var(--header-height);
  min-height: var(--header-height-compact);
  width: 100%;
  padding: 0 18px;
  pointer-events: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 0.5s var(--ease-power3-out);
}
body.is-scrolled .c-header_bar { height: var(--header-height-compact); }

.c-header_left {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  min-width: 0;
}
.c-header_right { display: flex; align-items: center; gap: 12px; }

.c-header_logo-link { display: flex; align-items: center; flex-shrink: 0; }
.c-header_logo-img {
  height: 12px;
  width: auto;
  display: block;
  transition: height 0.4s var(--ease-power3-out);
}
@media (min-width: 1000px) {
  .c-header_logo-img { height: 14px; }
}

.c-header_nav--center ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.c-header_nav--center .c-header_link .text-sm {
  font-size: 0.96rem;
}
.c-header_link {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: currentColor;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.c-header_link:hover { opacity: 0.7; }

.c-header_cta,
.c-header_cta:link,
.c-header_cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: var(--color-black);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}
.c-header_cta:hover {
  background: #1a1a1a;
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 899px) {
  .c-header_nav--center { display: none; }
}

/* Hamburger button (mobile only) */
.c-header_burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 4px 12px -3px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease, background 0.25s ease;
}
.c-header_burger:hover {
  transform: scale(1.05);
}
.c-header_burger-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #1d1d1f;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.c-header_burger.is-open .c-header_burger-line:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.c-header_burger.is-open .c-header_burger-line:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile fullscreen Liquid Glass menu */
.m-menu {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.m-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0s;
}
.m-menu_nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}
.m-menu_link {
  display: block;
  padding: 6px 12px;
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 700;
  color: #1d1d1f;
  text-decoration: none;
  letter-spacing: -0.025em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.m-menu.is-open .m-menu_link {
  opacity: 1;
  transform: translateY(0);
}
.m-menu.is-open .m-menu_link:nth-child(1) { transition-delay: 0.10s; }
.m-menu.is-open .m-menu_link:nth-child(2) { transition-delay: 0.16s; }
.m-menu.is-open .m-menu_link:nth-child(3) { transition-delay: 0.22s; }
.m-menu.is-open .m-menu_link:nth-child(4) { transition-delay: 0.28s; }

/* Mobile breakpoint: show burger when nav is hidden */
@media (max-width: 899px) {
  .c-header_burger { display: inline-flex; }
}
@media (min-width: 900px) {
  .m-menu { display: none; }
}


/* ---- Buttons (shared) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-dark {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}
.btn-dark:hover { background: #000; }
.btn-soft {
  background: var(--bg-2);
  color: var(--fg);
  border-color: transparent;
}
.btn-soft:hover { background: var(--grey-50); }
.btn-light {
  background: #fff;
  color: var(--fg);
  border-color: #fff;
}
.btn-light:hover { background: var(--grey-50); }
.btn-outline-light {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-color: rgba(255,255,255,0.20);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.40);
}
.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
}
.dl-arrow {
  display: inline-block;
  font-size: 12px;
  margin-left: 2px;
}
.apple {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
}

/* ============================== HERO 1 (light) ============================== */
.hero-light {
  position: relative;
  min-height: 100vh;
  padding: 200px 32px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 0% 100%, #b9d4ff 0%, rgba(185, 212, 255, 0) 60%),
    radial-gradient(ellipse 70% 80% at 100% 100%, #b9d4ff 0%, rgba(185, 212, 255, 0) 60%),
    radial-gradient(ellipse 100% 60% at 50% 100%, #d6e6ff 0%, rgba(214, 230, 255, 0) 70%),
    #ffffff;
}
.hero-light-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1400px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 38px;
  color: var(--fg);
}
.wordmark-logo {
  height: 28px;
  width: auto;
  display: block;
}
.hero-light-title {
  position: relative;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 56px;
  color: var(--fg);
}
.hero-light-title::before {
  content: "";
  position: absolute;
  inset: -45% -28%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.98) 30%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0) 85%
  );
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}
.hero-typed { white-space: pre-wrap; }
.hero-caret {
  display: inline-block;
  width: 0.06em;
  height: 0.92em;
  background: currentColor;
  vertical-align: -0.1em;
  margin-left: 0.05em;
  animation: heroCaretBlink 0.85s steps(1) infinite;
  transition: opacity 0.4s;
}
.hero-caret.is-done { opacity: 0; }
@keyframes heroCaretBlink {
  50% { opacity: 0; }
}
.hero-light-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Pulsing dental hub in hero ===== */
.hero-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(880px, 94vw);
  aspect-ratio: 1 / 1;
  translate: -50% -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  scale: 0.88;
  transition:
    opacity 1.1s ease-out,
    scale 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-light.is-typed .hero-hub {
  opacity: 1;
  scale: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-hub { transition: none; opacity: 1; scale: 1; }
}
.hub-base,
.hub-pulse {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* concentric pulse waves */
.hub-pulse polygon {
  transform-box: fill-box;
  transform-origin: center;
  animation: hubPulse 3.6s ease-out infinite;
  vector-effect: non-scaling-stroke;
}
.hub-pulse--2 polygon { animation-delay: 1.8s; }
@keyframes hubPulse {
  0%   { transform: scale(0.55); opacity: 0.7; }
  60%  { opacity: 0.25; }
  100% { transform: scale(1.85); opacity: 0; }
}

/* breathing halo behind core */
.hub-halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: hubHalo 3.2s ease-in-out infinite;
}
@keyframes hubHalo {
  0%, 100% { opacity: 0.85; transform: scale(0.95); }
  50%      { opacity: 1;    transform: scale(1.08); }
}

/* rotating orbit (outer ring + icons) */
.hub-orbit {
  position: absolute;
  inset: 0;
  animation: hubOrbitSpin 50s linear infinite;
}
.hub-orbit-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes hubOrbitSpin {
  from { rotate: 0deg;   }
  to   { rotate: 360deg; }
}

/* icon bubbles */
.hub-icon {
  position: absolute;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 20px 40px -13px rgba(20, 60, 160, 0.22),
    0 5px 12px rgba(20, 60, 160, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -8px 18px -8px rgba(0, 112, 243, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #0058e6;
  animation: hubFloat 4s ease-in-out infinite;
}
.hub-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  animation: hubIconCounterSpin 50s linear infinite;
}
@keyframes hubIconCounterSpin {
  from { rotate: 0deg;    }
  to   { rotate: -360deg; }
}

.hub-icon--top          { top: 11.3%; left: 50%;   animation-delay: 0s;    }
.hub-icon--top-right    { top: 30.6%; left: 83.5%; animation-delay: 0.55s; }
.hub-icon--bottom-right { top: 69.4%; left: 83.5%; animation-delay: 1.10s; }
.hub-icon--bottom       { top: 88.7%; left: 50%;   animation-delay: 1.65s; }
.hub-icon--bottom-left  { top: 69.4%; left: 16.5%; animation-delay: 2.20s; }
.hub-icon--top-left     { top: 30.6%; left: 16.5%; animation-delay: 2.75s; }

@keyframes hubFloat {
  0%, 100% { transform: translateY(0)    scale(1);    }
  50%      { transform: translateY(-8px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .hub-pulse polygon,
  .hub-halo,
  .hub-orbit,
  .hub-icon,
  .hub-icon svg { animation: none !important; }
}
@media (max-width: 760px) {
  .hero-hub { width: min(720px, 92vw); }
  .hub-icon { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .hub-icon svg { width: 26px; height: 26px; }
}

/* ============================== HERO 2 (DARK) ============================== */
/* ============================== NOVITÀ SLIDER ============================== */
.news-slider {
  --news-pad: clamp(32px, 14vw, 220px);
  background: #fff;
  padding: 100px 0 120px;
}
.news-head { padding: 0 var(--news-pad); }
.news-title {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 56px;
  color: var(--fg);
}
.news-track {
  display: flex;
  gap: 24px;
  padding: 0 var(--news-pad) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--news-pad);
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.news-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.news-track::-webkit-scrollbar { display: none; }

/* Pagination dots */
.news-pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  padding: 0 var(--news-pad);
}
.news-pagination {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.np-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c7c7cc;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition:
    width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.3s ease;
}
.np-dot:hover { background: #a1a1a6; }
.np-dot.is-active {
  width: 32px;
  background: #d2d2d6;
}
.np-dot.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: #6e6e73;
  border-radius: 999px;
  animation: npDotProgress 5s linear forwards;
}
.news-slider.is-paused .np-dot.is-active::before {
  animation-play-state: paused;
}
@keyframes npDotProgress {
  from { width: 0; }
  to   { width: 100%; }
}
.news-card {
  flex: 0 0 clamp(480px, 70vw, 920px);
  background: #f5f5f7;
  border-radius: 28px;
  padding: 48px 52px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 620px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.news-card--agenda {
  background-image:
    linear-gradient(180deg, #f5f5f7 0%, rgba(245,245,247,0.85) 25%, rgba(245,245,247,0) 60%),
    url("assets/zeus-agenda.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.news-copy h3 {
  font-size: clamp(20px, 1.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #1d1d1f;
  margin: 0;
}
.news-art {
  flex: 1;
  display: grid;
  place-items: center;
  padding-bottom: 36px;
  width: 100%;
}
.news-mock { width: 100%; max-width: 380px; }

/* Card 1 — Liquid Glass */
.news-mock--glass {
  position: relative;
  height: 300px;
  background:
    radial-gradient(circle at 30% 30%, rgba(155,196,255,0.45), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(0,112,243,0.35), transparent 60%);
  border-radius: 24px;
  overflow: hidden;
}
.glass-pane {
  position: absolute;
  border-radius: 18px;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 20px 50px -12px rgba(0,60,160,0.22), inset 0 1px 0 rgba(255,255,255,0.85);
}
.glass-pane--1 { width: 64%; height: 56%; top: 14%;   left: 6%;
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(155,196,255,0.25));
}
.glass-pane--2 { width: 50%; height: 46%; top: 26%;   right: 6%;
  background: linear-gradient(135deg, rgba(155,196,255,0.45), rgba(255,255,255,0.25));
}
.glass-pane--3 { width: 38%; height: 36%; bottom: 10%; left: 32%;
  background: linear-gradient(135deg, rgba(0,112,243,0.4), rgba(77,141,249,0.25));
}

/* Card 2 — AI */
.news-mock--ai { display: flex; flex-direction: column; gap: 14px; }
.ai-bubble {
  align-self: flex-end;
  max-width: 85%;
  background: #fff;
  padding: 14px 18px;
  border-radius: 16px 16px 4px 16px;
  font-size: 14px;
  color: #1d1d1f;
  box-shadow: 0 10px 24px -10px rgba(20,30,60,0.14);
}
.ai-response {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 16px 16px 16px 4px;
  font-size: 14px;
  color: #1d1d1f;
  box-shadow: 0 10px 24px -10px rgba(20,30,60,0.14);
}
.ai-spark { color: #0070f3; font-size: 18px; line-height: 1; padding-top: 1px; }

/* Card 1 — Concierge curator */
.news-mock--concierge { width: 100%; max-width: 380px; }
.cn-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 36px -14px rgba(20,30,60,0.2);
}
.cn-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.cn-avatar {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4d8df9, #9bb7ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.cn-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #34c759;
  border: 2.5px solid #fff;
}
.cn-info { display: flex; flex-direction: column; line-height: 1.25; }
.cn-info strong { font-size: 15px; font-weight: 600; color: #1d1d1f; }
.cn-info span { font-size: 12px; color: #6e6e73; }
.cn-msg {
  background: #f1f3f6;
  padding: 14px 18px;
  border-radius: 16px 16px 16px 4px;
  font-size: 13.5px;
  line-height: 1.4;
  color: #1d1d1f;
  margin-bottom: 16px;
}
.cn-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #137a3b;
  font-weight: 500;
}
.cn-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5);
  animation: cnPulse 2s ease-out infinite;
}
@keyframes cnPulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(52, 199, 89, 0); }
}

/* Card 2 — Multi-device cloud */
.news-mock--devices {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 14px 0 6px;
}
.dv-cloud {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: #0070f3;
  box-shadow:
    0 18px 40px -12px rgba(0, 112, 243, 0.40),
    0 4px 12px rgba(20, 30, 60, 0.08);
}
.dv-cloud svg { width: 30px; height: 30px; display: block; }
.dv-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  width: 100%;
}
.dv-row::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(0,112,243,0.6), rgba(0,112,243,0));
  transform: translateX(-50%);
}
.dv-tablet,
.dv-phone,
.dv-laptop-screen {
  background: #fff;
  border: 1.5px solid #d2d2d7;
  position: relative;
}
.dv-tablet {
  width: 78px;
  height: 108px;
  border-radius: 8px;
  margin-bottom: 6px;
}
.dv-tablet::after,
.dv-phone::after,
.dv-laptop-screen::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, #e6f0ff 0%, #f5f5f7 70%);
}
.dv-laptop {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 144px;
}
.dv-laptop-screen {
  width: 100%;
  height: 84px;
  border-radius: 8px 8px 2px 2px;
  border-bottom: none;
}
.dv-laptop-base {
  width: 116%;
  height: 7px;
  background: #d2d2d7;
  border-radius: 0 0 5px 5px;
  margin-top: 1px;
}
.dv-phone {
  width: 50px;
  height: 92px;
  border-radius: 10px;
  margin-bottom: 6px;
}

/* Card 3 — Patient / Odontogramma */
.news-mock--patient {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 36px -14px rgba(20,30,60,0.2);
}
.np-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.np-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #4d8df9, #9bb7ff);
  color: #fff; display: grid; place-items: center;
  font-weight: 600; font-size: 13px;
}
.np-meta strong { display: block; font-size: 14px; font-weight: 600; color: #1d1d1f; }
.np-meta span  { font-size: 12px; color: #6e6e73; }
.np-section {
  font-size: 10px; color: #8a8a8f; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500; margin-bottom: 8px;
}
.np-teeth { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.np-tooth { aspect-ratio: 1 / 1.2; background: #f1f3f6; border-radius: 4px 4px 6px 6px; }
.np-tooth--carie   { background: #ffd9d2; }
.np-tooth--treated { background: #c6e9d3; }

/* Card 4 — Agenda */
.news-mock--agenda {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 36px -14px rgba(20,30,60,0.2);
}
.na-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.na-head strong { font-size: 14px; font-weight: 600; color: #1d1d1f; }
.na-pill {
  background: #f1f3f6; font-size: 11px; font-weight: 500;
  padding: 3px 9px; border-radius: 999px; color: #6e6e73;
}
.na-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.na-list li {
  display: grid; grid-template-columns: 40px 4px 1fr;
  align-items: center; gap: 10px; font-size: 13px; color: #1d1d1f;
}
.na-time { color: #8a8a8f; font-size: 11px; font-variant-numeric: tabular-nums; }
.na-bar { height: 22px; border-radius: 3px; }
.na-bar--blue   { background: #4d8df9; }
.na-bar--green  { background: #34c759; }
.na-bar--orange { background: #ff9f0a; }
.na-bar--purple { background: #af52de; }

/* Card 5 — Analytics */
.news-mock--chart {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 36px -14px rgba(20,30,60,0.2);
}
.nc-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; font-size: 13px; color: #1d1d1f; font-weight: 600;
}
.nc-tag {
  background: #f1f3f6; font-size: 11px; font-weight: 500;
  padding: 3px 9px; border-radius: 999px; color: #6e6e73;
}
.nc-kpi {
  font-size: 32px; font-weight: 700; letter-spacing: -0.02em; color: #1d1d1f;
  display: flex; align-items: baseline; gap: 10px;
}
.nc-kpi span { font-size: 14px; color: #137a3b; font-weight: 600; }
.nc-sub { font-size: 12px; color: #8a8a8f; margin-bottom: 14px; }
.nc-line { width: 100%; height: 90px; display: block; }

@media (max-width: 760px) {
  .news-slider { --news-pad: 28px; }
  .news-card { flex-basis: 86vw; min-height: 540px; padding: 32px 28px 0; }
}

/* ============================== AGENDA SPOTLIGHT ============================== */
.spotlight {
  background: #fff;
  padding: 60px 16px 10px;
}
.spotlight-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1080;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  align-items: start;
  justify-items: center;
  isolation: isolate;
}
.spotlight-bg {
  position: absolute;
  inset: 0;
  background:
    /* Placeholder gradient — overridden per spotlight via modifier classes */
    radial-gradient(ellipse 80% 60% at 30% 30%, #4d9eff 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 70% 70%, #0044b3 0%, transparent 60%),
    linear-gradient(135deg, #0058e6 0%, #001f5c 100%);
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.spotlight-card--agenda {
  aspect-ratio: auto;
}
.spotlight-video {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -2px;
}
.spotlight-content {
  width: 100%;
  /* compensate for the 16px horizontal padding on .spotlight section
     so the title aligns with the mini-slider track below */
  padding: 0 calc(clamp(32px, 14vw, 220px) - 16px);
  text-align: left;
  margin-bottom: 32px;
  color: var(--fg);
}
.spotlight-eyebrow {
  display: block;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  color: var(--fg-mute);
}
.spotlight-title {
  font-size: clamp(28px, 3.8vw, 54px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.spotlight-caption {
  max-width: 760px;
  margin: 24px 0 0;
  padding: 0;
  text-align: left;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--fg-mute);
}

@media (max-width: 760px) {
  .spotlight { padding: 24px 0 0; }
  .spotlight-card {
    aspect-ratio: auto;
    min-height: 70vh;
    border-radius: 24px;
  }
  .spotlight-content {
    padding: 0 24px;
    margin-bottom: 0;
  }
  .spotlight-caption { margin-top: 10px; }
  .mini-slider {
    --mini-pad: 24px;
    padding: 0 0 8px;
    margin-top: 0;
  }
  .mini-track { padding: 0 var(--mini-pad) 8px; }
  .mini-pagination-wrap { margin-top: 8px; }
  .mini-card-img { margin-bottom: 12px; }
  .news-slider { padding: 60px 0 40px; }
  .news-title { margin-bottom: 20px; }
}

/* ============================== MINI SLIDER ============================== */
.mini-slider {
  --mini-pad: clamp(32px, 14vw, 220px);
  position: relative;
  background: #fff;
  padding: 30px 0 100px;
  overflow: hidden;
}
.mini-track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  padding: 0 var(--mini-pad) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--mini-pad);
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}
.mini-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.mini-track::-webkit-scrollbar { display: none; }

.mini-card {
  flex: 0 0 clamp(260px, 23.5vw, 420px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  box-shadow: none;
}
.mini-card img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
.mini-card-img {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #f5f5f7;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-card-text {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.45;
  color: #6e6e73;
  margin: 0;
  padding: 0 4px;
  letter-spacing: -0.01em;
}
.mini-card-text strong {
  color: #1d1d1f;
  font-weight: 600;
}

/* Mockup 1 — Drag & drop appointment */
.mini-img--drag {
  background: #f5f5f7;
  position: relative;
  overflow: hidden;
  display: block;
}
/* Faint horizontal hour separators at every 25% (10:00, 11:00, 12:00 lines) */
.mini-img--drag::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom,
      transparent calc(25% - 1px), rgba(0,0,0,0.05) 25%, transparent calc(25% + 1px),
      transparent calc(50% - 1px), rgba(0,0,0,0.05) 50%, transparent calc(50% + 1px),
      transparent calc(75% - 1px), rgba(0,0,0,0.05) 75%, transparent calc(75% + 1px));
  pointer-events: none;
  z-index: 0;
}

/* Time labels column on the left */
.agd-times {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 18%;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  z-index: 1;
}
.agd-times li {
  flex: 1;
  font-size: 9px;
  font-weight: 600;
  color: #b0b4be;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  padding: 4px 0 0 10px;
  line-height: 1;
}

/* Ghost: original transparent appointment at 09:00 */
.agd-ghost {
  position: absolute;
  top: 4%;
  left: 20%;
  width: 70%;
  height: 19%;
  border-radius: 10px;
  border: 1.5px dashed rgba(52, 199, 89, 0.45);
  background: rgba(52, 199, 89, 0.08);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 0 12px;
}
.agd-ghost strong {
  font-size: 14px;
  font-weight: 600;
  color: #5fb872;
  letter-spacing: -0.01em;
  opacity: 0.75;
}
.agd-ghost em {
  font-size: 12px;
  font-style: normal;
  color: #5fb872;
  opacity: 0.6;
}
.agd-ghost-time {
  font-size: 11.5px;
  font-weight: 600;
  color: #5fb872;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

/* Red badge "11:00" — exactly on the 50% line (start of 11:00) */
.agd-droptime {
  position: absolute;
  top: 50%;
  left: 4%;
  background: #ff4d3d;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  box-shadow:
    0 6px 16px -4px rgba(255, 77, 61, 0.45),
    0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 5;
  transform: translateY(-50%);
}
.agd-dropline {
  position: absolute;
  top: 50%;
  left: 18%;
  right: 0;
  height: 2px;
  background: #ff4d3d;
  z-index: 3;
  box-shadow: 0 0 10px rgba(255, 77, 61, 0.45);
  border-radius: 2px;
  transform: translateY(-50%);
}
.agd-dropline::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d3d;
  transform: translate(50%, -50%);
  box-shadow: 0 0 10px rgba(255, 77, 61, 0.55);
}

/* Green appointment card — lifted above the blue drop zone, tilted */
.agd-pill {
  position: absolute;
  top: 34%;
  left: 20%;
  width: 70%;
  height: 22%;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 22px 40px -14px rgba(20, 110, 50, 0.45),
    0 6px 14px rgba(20, 110, 50, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  transform: rotate(-2deg);
  z-index: 4;
  color: #fff;
}
.agd-pill strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.agd-pill em {
  font-size: 12.5px;
  font-style: normal;
  opacity: 0.92;
  line-height: 1.3;
}
.agd-pill-time {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: 0.95;
  margin-top: 2px;
}

/* Blue dashed drop zone — at 11:00, sitting UNDER the tilted green card */
.agd-dropzone {
  position: absolute;
  top: 50%;
  left: 20%;
  width: 70%;
  height: 24%;
  border-radius: 12px;
  border: 1.5px dashed rgba(77, 141, 249, 0.55);
  background: rgba(77, 141, 249, 0.12);
  z-index: 2;
}

/* Mockup 1b — Crea con un click (popover su agenda) */
.mini-img--create {
  background: #f5f5f7;
  position: relative;
  overflow: hidden;
  display: block;
}
.mini-img--create::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom,
      transparent calc(25% - 1px), rgba(0,0,0,0.05) 25%, transparent calc(25% + 1px),
      transparent calc(50% - 1px), rgba(0,0,0,0.05) 50%, transparent calc(50% + 1px),
      transparent calc(75% - 1px), rgba(0,0,0,0.05) 75%, transparent calc(75% + 1px));
  pointer-events: none;
  z-index: 0;
}
/* Time labels column on the left */
.crea-times {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 16%;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  z-index: 1;
}
.crea-times li {
  flex: 1;
  font-size: 9px;
  font-weight: 600;
  color: #b0b4be;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  padding: 4px 0 0 10px;
  line-height: 1;
}
/* Empty placeholder slot — spans 9:00 → 10:00 (one hour block) */
.crea-slot {
  position: absolute;
  top: 3%;
  left: 18%;
  width: 75%;
  height: 22%;
  padding: 9px 12px;
  background: rgba(77, 141, 249, 0.12);
  border: 1.5px dashed rgba(77, 141, 249, 0.55);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  color: #6e8fc4;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* Real appointment cards (background, on the left) */
.crea-appt {
  position: absolute;
  left: 18%;
  width: 42%;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px -4px rgba(40, 30, 90, 0.14);
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  z-index: 1;
  box-sizing: border-box;
}
.crea-appt strong {
  font-size: 11px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.crea-appt em {
  font-size: 9.5px;
  font-style: normal;
  color: #6e6e73;
  line-height: 1.3;
}
.crea-appt-time {
  font-size: 9px;
  color: #8a8a8f;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.crea-appt--1 {
  top: 38%;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow: 0 6px 14px -4px rgba(20, 110, 50, 0.30);
}
.crea-appt--2 {
  top: 70%;
  background: linear-gradient(135deg, #ff7a6b 0%, #ef4444 100%);
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow: 0 6px 14px -4px rgba(180, 40, 30, 0.30);
}
.crea-appt--1 strong,
.crea-appt--2 strong { color: #fff; }
.crea-appt--1 em,
.crea-appt--2 em { color: rgba(255, 255, 255, 0.92); }
.crea-appt--1 .crea-appt-time,
.crea-appt--2 .crea-appt-time { color: rgba(255, 255, 255, 0.95); }

/* Floating tooltip popup (Liquid Glass) */
.crea-popup {
  position: absolute;
  top: 27%;
  right: 3%;
  width: 70%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  box-shadow:
    0 30px 60px -16px rgba(40, 30, 90, 0.40),
    0 10px 20px rgba(40, 30, 90, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
  box-sizing: border-box;
}

/* Tabs row */
.crea-tabs {
  display: flex;
  gap: 1px;
  background: #f1f3f6;
  padding: 2px;
  border-radius: 7px;
}
.crea-tab {
  flex: 1;
  text-align: center;
  font-size: 7.5px;
  font-weight: 600;
  color: #8a8a8f;
  padding: 3px 2px;
  border-radius: 5px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.crea-tab.is-active {
  background: #fff;
  color: #4d8df9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Section: PAZIENTE label + search */
.crea-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 3px;
}
.crea-label {
  font-size: 7px;
  font-weight: 700;
  color: #8a8a8f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.crea-search {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #c5dbf9;
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 9px;
  font-weight: 500;
  color: #aab0c0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(77, 141, 249, 0.10);
}
.crea-search-icon {
  width: 10px;
  height: 10px;
  color: #8a8a8f;
  flex-shrink: 0;
}

/* Generic row with icon + content */
.crea-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #1d1d1f;
}
.crea-icon {
  width: 11px;
  height: 11px;
  color: #6e6e73;
  flex-shrink: 0;
}
.crea-row-title {
  font-size: 9.5px;
  font-weight: 600;
  flex: 1;
  letter-spacing: -0.01em;
}
.crea-pill {
  background: #fff;
  border: 1px solid #d8dbe3;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 8.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.crea-dash {
  color: #8a8a8f;
  font-size: 10px;
}

/* Sub-row (Durata, Si ripete) */
.crea-subrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  color: #8a8a8f;
  padding-left: 17px;
}
.crea-subrow strong {
  color: #1d1d1f;
  font-weight: 600;
}
.crea-select {
  background: #fff;
  border: 1px solid #d8dbe3;
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 8px;
  color: #1d1d1f;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.crea-select em {
  font-style: normal;
  color: #8a8a8f;
  font-size: 7px;
}

/* Divider line above row */
.crea-row--line {
  border-top: 1px solid #f0f0f3;
  padding-top: 7px;
  margin-top: 1px;
}

/* Total row with toggle */
.crea-row--total {
  flex-wrap: nowrap;
  gap: 6px;
}
.crea-tot-label {
  color: #8a8a8f;
  font-weight: 500;
  font-size: 9px;
}
.crea-tot-amount {
  font-size: 10px;
  font-weight: 700;
  color: #1d1d1f;
}
.crea-toggle {
  width: 18px;
  height: 11px;
  background: #34c759;
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
  margin-left: 2px;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.06);
}
.crea-toggle-knob {
  position: absolute;
  right: 1.5px;
  top: 1.5px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.crea-toggle-text {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1d1d1f;
}
.crea-date {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: #8a8a8f;
  white-space: nowrap;
}
.crea-date svg {
  width: 9px;
  height: 9px;
  color: #8a8a8f;
}

/* Bottom action buttons */
.crea-actions {
  display: flex;
  gap: 6px;
  margin-top: 5px;
}
.crea-btn {
  flex: 1;
  background: #1d1d1f;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 9.5px;
  font-weight: 600;
  cursor: default;
  letter-spacing: -0.01em;
  font-family: inherit;
}
.crea-btn--cancel {
  background: #f1f3f6;
  color: #1d1d1f;
}

/* Mockup 2 — Stats della giornata (4 vertical Liquid Glass boxes) */
.mini-img--stats {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(52, 199, 89, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(255, 159, 10, 0.10) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  justify-content: stretch;
  align-items: stretch;
}
.stat-box {
  flex: 1;
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 6px 16px -6px rgba(40, 30, 90, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  box-sizing: border-box;
}
.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.stat-icon svg {
  width: 20px;
  height: 20px;
}
.stat-icon--check {
  background: #e6f6ec;
  color: #137a3b;
}
.stat-icon--gauge {
  background: #e6f6ec;
  color: #137a3b;
}
.stat-icon--tooth {
  background: #f1f3f6;
  color: #4d4d52;
}
.stat-icon--euro {
  background: #fff3d6;
  color: #c47a05;
}
.stat-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.stat-values {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  flex-wrap: wrap;
}
.stat-value {
  color: #137a3b;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.stat-sep {
  color: #c0c4cc;
  font-weight: 400;
  font-size: 15px;
}
.stat-total {
  color: #1d1d1f;
  font-weight: 700;
  font-size: 16px;
}
.stat-sub {
  font-size: 11px;
  color: #8a8a8f;
  font-weight: 500;
  margin-left: 4px;
}

/* Mockup — Promemoria (lista clean, full-width dividers) */
.mini-img--rmd {
  background: #f5f5f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
}
.rmd-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 30px;
  border-bottom: 1px solid #e5e5ea;
  box-sizing: border-box;
  width: 100%;
}
.rmd-item:last-child {
  border-bottom: none;
}
.rmd-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #c0c4cc;
  background: transparent;
  flex-shrink: 0;
  margin-top: 1px;
  display: grid;
  place-items: center;
}
.rmd-check svg {
  width: 13px;
  height: 13px;
  color: #fff;
  display: none;
}
.rmd-check--done {
  background: #34c759;
  border-color: #34c759;
}
.rmd-check--done svg { display: block; }
.rmd-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.rmd-title {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.rmd-meta {
  font-size: 12.5px;
  color: #8a8a8f;
  font-weight: 500;
}
.rmd-tag {
  color: #4d8df9;
  font-weight: 600;
  margin-left: 2px;
}
.rmd-item--done .rmd-title {
  color: #aab0c0;
  text-decoration: line-through;
}
.rmd-item--done .rmd-meta {
  color: #c0c4cc;
}
.rmd-item--overdue .rmd-check {
  border-color: #ef4444;
}
.rmd-item--overdue .rmd-meta {
  color: #ef4444;
  font-weight: 600;
}

/* Mockup 3 — WhatsApp-style reminder */
.mini-img--reminder {
  background: #f5f5f7;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px;
  justify-content: center;
}
.rem-bubble {
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #1d1d1f;
  max-width: 88%;
  align-self: flex-start;
  box-shadow: 0 8px 18px -8px rgba(20, 80, 30, 0.18);
  position: relative;
}
.rem-tick {
  display: inline-block;
  margin-left: 4px;
  color: #34c759;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.rem-reply {
  align-self: flex-end;
  background: #25d366;
  color: #fff;
  padding: 8px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 8px 18px -8px rgba(37, 211, 102, 0.45);
}

/* Mockup — Lista d'attesa (slide-out panel) */
.mini-img--waitpanel {
  background: #f5f5f7;
  position: relative;
  overflow: hidden;
  display: block;
}
/* Background appointment cards (vibrant, behind glass panel) */
.wlp-bg {
  position: absolute;
  left: 4%;
  width: 30%;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  z-index: 1;
  box-sizing: border-box;
}
.wlp-bg strong {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.wlp-bg em {
  font-size: 9.5px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
}
.wlp-bg-time {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.95);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.wlp-bg--1 {
  top: 14%;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  box-shadow: 0 6px 14px -4px rgba(20, 110, 50, 0.30);
}
.wlp-bg--2 {
  top: 40%;
  background: linear-gradient(135deg, #ff7a6b 0%, #ef4444 100%);
  box-shadow: 0 6px 14px -4px rgba(180, 40, 30, 0.30);
}
.wlp-bg--3 {
  top: 66%;
  background: linear-gradient(135deg, #6b8eff 0%, #3b5fe6 100%);
  box-shadow: 0 6px 14px -4px rgba(40, 60, 200, 0.30);
}

/* Sliding panel from the right (Liquid Glass — same as crea-popup) */
.wlp-panel {
  position: absolute;
  top: 4%;
  right: 4%;
  width: 70%;
  height: 92%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  box-shadow:
    0 30px 60px -16px rgba(40, 30, 90, 0.40),
    0 10px 20px rgba(40, 30, 90, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 4;
  box-sizing: border-box;
}
.wlp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
}
.wlp-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  flex: 1;
}
.wlp-count {
  background: #fff3d6;
  color: #c47a05;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.wlp-close {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #f1f3f6;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #6e6e73;
  font-weight: 400;
  line-height: 1;
}

.wlp-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f3;
  min-width: 0;
}
.wlp-row:first-of-type {
  border-top: none;
  padding-top: 0;
}
.wlp-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.wlp-av--grey   { background: linear-gradient(135deg, #8a8a8f, #6e6e73); }
.wlp-av--purple { background: linear-gradient(135deg, #b87ce3, #7a3cb6); }

.wlp-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.wlp-info strong {
  font-size: 11px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.wlp-info span {
  font-size: 9px;
  color: #8a8a8f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wlp-prio {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.wlp-prio--med  { background: #fff3d6; color: #c47a05; }
.wlp-prio--low  { background: #e8e9ec; color: #6e6e73; }
.wlp-prio--high { background: #ffe1de; color: #c4422f; }

/* Mockup 4 — Smart waitlist */
.mini-img--waitlist {
  background: #f5f5f7;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px;
  justify-content: center;
}
.wl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 16px -8px rgba(80, 30, 140, 0.15);
  font-size: 12px;
  color: #1d1d1f;
}
.wl-row--top {
  background: linear-gradient(135deg, #ffffff 0%, #fef9e8 100%);
  box-shadow: 0 12px 26px -10px rgba(160, 110, 0, 0.28);
  transform: scale(1.04);
}
.wl-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.wl-a1 { background: linear-gradient(135deg, #ffaa3c, #e6700a); }
.wl-a2 { background: linear-gradient(135deg, #4d8df9, #0058e6); }
.wl-a3 { background: linear-gradient(135deg, #b87ce3, #7a3cb6); }
.wl-name { flex: 1; font-weight: 500; }
.wl-tag {
  background: #fff3d6;
  color: #c47a05;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Mockup — Panoramica paziente (Liquid Glass dashboard) */
.mini-img--pano {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(52, 199, 89, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(255, 159, 10, 0.10) 0%, transparent 55%),
    #f5f5f7;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  box-sizing: border-box;
}
.pano-bg { display: none; }

.pano-glass {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow:
    0 6px 16px -6px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  box-sizing: border-box;
}

/* Header card — full width inside container padding */
.pano-head {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  box-sizing: border-box;
}
.pano-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: #f0f0f3;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 3px 8px -2px rgba(40, 30, 90, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}
.pano-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pano-name {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  align-items: flex-start;
  gap: 4px;
}
.pano-name strong {
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.pano-badge {
  display: inline-block;
  background: #ffe1de;
  color: #c4422f;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1.3;
}
.pano-visits {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.pano-visit {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: right;
}
.pano-visit-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.pano-visit-value {
  font-size: 11px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pano-visit-value--accent {
  color: #0058e6;
}

/* Dentogramma (mouth image) */
.pano-mouth {
  position: relative;
  flex: 0 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pano-mouth-img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  display: block;
}

/* Bottom: 2x2 grid (piano + diario / amministrazione + note) */
.pano-bottom {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
  min-height: 0;
}

/* Piano di cura recap (compact) */
.pano-tx {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.pano-tx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pano-tx-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.pano-tx-status {
  background: #d4f5dd;
  color: #137a3b;
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.pano-tx-bar {
  height: 5px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.pano-tx-bar-fill {
  width: 66%;
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #22c55e);
  border-radius: 999px;
}
.pano-tx-meta {
  font-size: 9.5px;
  color: #8a8a8f;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* Amministrazione card */
.pano-admin {
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.pano-admin-title {
  font-size: 11px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.pano-admin-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.pano-admin-row:first-of-type {
  border-top: none;
  padding-top: 1px;
}
.pano-admin-label {
  font-size: 10px;
  color: #8a8a8f;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pano-admin-value {
  font-size: 11.5px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.pano-admin-value--green { color: #137a3b; }
.pano-admin-value--red   { color: #c4422f; }

/* Annotations on dentogramma */
.mouth-mark {
  position: absolute;
  border: 2px solid;
  border-radius: 8px;
  z-index: 2;
  pointer-events: none;
}
.mouth-mark--dev {
  border-color: #ef4444;
  top: 12%;
  left: 35%;
  width: 6%;
  height: 38%;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}
.mouth-mark--ott {
  border-color: #34c759;
  bottom: 14%;
  right: 26%;
  width: 14%;
  height: 36%;
  box-shadow: 0 0 0 2px rgba(52, 199, 89, 0.15);
}
.mouth-mark-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
}
.mouth-mark--dev .mouth-mark-label {
  top: -16px;
}
.mouth-mark--ott .mouth-mark-label {
  bottom: -16px;
}
.mouth-mark-label--red {
  background: #ef4444;
  box-shadow: 0 2px 6px -1px rgba(239, 68, 68, 0.4);
}
.mouth-mark-label--green {
  background: #34c759;
  box-shadow: 0 2px 6px -1px rgba(52, 199, 89, 0.4);
}

/* (Removed: pano-middle / pano-stats — replaced by pano-bottom) */
.pano-stat {
  flex: 1;
  width: 100%;
  padding: 8px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pano-stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.pano-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Diario clinico (timeline) */
.pano-diary {
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
  min-width: 0;
}
.diary-title {
  font-size: 11px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.diary-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: space-around;
}
.diary-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(0, 0, 0, 0.10);
  z-index: 0;
}
.diary-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.diary-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #c0c4cc;
  flex-shrink: 0;
  margin-top: 1px;
  box-sizing: border-box;
}
.diary-dot--purple { border-color: #8b6ad9; }
.diary-dot--green  { border-color: #34c759; }
.diary-dot--red    { border-color: #ef4444; }
.diary-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.diary-meta {
  font-size: 8.5px;
  color: #8a8a8f;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.diary-name {
  font-size: 10.5px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom row: plan + notes side by side */
.pano-bottom {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8px;
  align-items: stretch;
}

/* Treatment plan progress card */
.pano-plan {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.pano-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pano-plan-head strong {
  font-size: 11px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.pano-plan-status {
  background: #d4f5dd;
  color: #137a3b;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: -0.01em;
}
.pano-plan-bar {
  height: 5px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.pano-plan-bar-fill {
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #22c55e);
  border-radius: 999px;
}
.pano-plan-meta {
  font-size: 9px;
  color: #8a8a8f;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* Notes card (sticky-style) */
.pano-notes {
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pano-notes-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  margin-bottom: 2px;
}
.pano-note {
  background: rgba(255, 243, 200, 0.85);
  border: 1px solid rgba(220, 180, 50, 0.20);
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 9.5px;
  color: #1d1d1f;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Mockup — Anagrafica paziente (lista clean stile promemoria) */
.mini-img--anag {
  background: #f5f5f7;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  align-self: stretch;
}

/* Header staccato con foto + nome */
.anag-head-block {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}
.anag-photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow:
    0 4px 12px -3px rgba(40, 30, 90, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: #f0f0f3;
}
.anag-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.anag-photo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.anag-photo-name {
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.anag-photo-meta {
  font-size: 11px;
  color: #8a8a8f;
  font-weight: 500;
}

/* Lista info che riempie il resto dell'altezza */
.anag-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}
.anag-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 20px;
  border-bottom: 1px solid #e5e5ea;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}
.anag-row:last-child {
  border-bottom: none;
}
.anag-key {
  font-size: 11.5px;
  color: #8a8a8f;
  font-weight: 500;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.anag-val {
  font-size: 12px;
  color: #1d1d1f;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* (removed: legacy .anag-head/.anag-avatar/.anag-name/.anag-row/.anag-label
   /.anag-value rules from the previous Liquid Glass design) */

/* Mockup — Anamnesi (Liquid Glass dashboard salute) */
.mini-img--anamn {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(52, 199, 89, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(255, 159, 10, 0.10) 0%, transparent 55%),
    #f5f5f7;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  box-sizing: border-box;
}

.anamn-glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow:
    0 6px 16px -6px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  box-sizing: border-box;
}

/* Vitals row (4 cards) */
.anamn-vitals {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  gap: 8px;
}
.anamn-vital {
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  min-width: 0;
}
.anamn-vital-label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.anamn-vital-value {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1.1;
}
.anamn-vital-value em {
  font-style: normal;
  font-size: 8.5px;
  font-weight: 500;
  color: #8a8a8f;
  letter-spacing: 0;
}

/* Pressione bar — gradient blu→rosso con glow futuristico */
.anamn-vital--bp .anamn-vital-value {
  font-size: 14px;
}
.anamn-bp-bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  margin-top: 6px;
  background: linear-gradient(
    90deg,
    #0070f3 0%,
    #06b6d4 25%,
    #34c759 50%,
    #f59e0b 75%,
    #ef4444 100%
  );
  box-shadow:
    0 0 10px rgba(77, 141, 249, 0.4),
    0 0 14px rgba(239, 68, 68, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.anamn-bp-marker {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 1.5px #1d1d1f,
    0 0 10px rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.30);
}

/* Sections grid (2 rows × 3 cols, ultima Note span 2) */
.anamn-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-height: 0;
}
.anamn-section--wide {
  grid-column: span 2;
}
.anamn-section {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  justify-content: flex-start;
}
.anamn-section-label {
  font-size: 11px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.anamn-section-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8a8a8f;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.10);
}
.anamn-section--allergie   .anamn-section-label::before { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.5); }
.anamn-section--farmaci    .anamn-section-label::before { background: #4d8df9; box-shadow: 0 0 6px rgba(77, 141, 249, 0.5); }
.anamn-section--malattie   .anamn-section-label::before { background: #ff9f0a; box-shadow: 0 0 6px rgba(255, 159, 10, 0.5); }
.anamn-section--interventi .anamn-section-label::before { background: #34c759; box-shadow: 0 0 6px rgba(52, 199, 89, 0.5); }
.anamn-section--note       .anamn-section-label::before { background: #b87ce3; box-shadow: 0 0 6px rgba(184, 124, 227, 0.5); }
.anamn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.anamn-tag {
  background: rgba(241, 243, 246, 0.85);
  color: #1d1d1f;
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.anamn-tag--red    { background: #ffe1de; color: #c4422f; }
.anamn-tag--orange { background: #fff3d6; color: #c47a05; }
.anamn-tag--green  { background: #d4f5dd; color: #137a3b; }
.anamn-note {
  font-size: 10px;
  color: #1d1d1f;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Mockup — Odontogramma interattivo (futuristic Liquid Glass) */
.mini-img--odonto {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.20) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(52, 199, 89, 0.10) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 12px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Notes / badges row al top */
.odonto-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 2px;
}
.odonto-note {
  font-size: 8.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  color: #1d1d1f;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px -2px rgba(40, 30, 90, 0.12);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.odonto-note--red   { color: #c4422f; border-color: rgba(196, 66, 47, 0.35); box-shadow: 0 0 8px rgba(239, 68, 68, 0.25); }
.odonto-note--green { color: #137a3b; border-color: rgba(20, 110, 50, 0.35); box-shadow: 0 0 8px rgba(52, 199, 89, 0.25); }
.odonto-note--blue  { color: #0044b3; border-color: rgba(77, 141, 249, 0.35); box-shadow: 0 0 8px rgba(77, 141, 249, 0.25); }
.odonto-note--grey  { color: #6e6e73; border-color: rgba(0, 0, 0, 0.10); }
.odonto-arch {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}
.odonto-numbers {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 0;
  font-size: 7.5px;
  color: #8a8a8f;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.odonto-numbers span {
  text-align: center;
  line-height: 1;
}
.odonto-teeth {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 0;
  align-items: end;
}
.odonto-teeth img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.10));
}
.odonto-arch--lower .odonto-teeth { align-items: start; }

/* Dente mancante (trasparente per mostrare l'assenza) */
.odonto-tooth--missing {
  opacity: 0.18;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05)) saturate(0%);
}

/* Impianto (immagine differente) */
.odonto-tooth--implant {
  filter: drop-shadow(0 0 4px rgba(77, 141, 249, 0.45)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* Vista occlusale (denti dall'alto) — tra le 2 arcate */
.odonto-occlusal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.odonto-tops {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 2px;
}
.odonto-top {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  color: #6e7a8a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    0 2px 6px -2px rgba(40, 30, 90, 0.10);
  padding: 2px;
  box-sizing: border-box;
}
.odonto-top svg {
  width: 100%;
  height: 100%;
  display: block;
}
.odonto-top--carie {
  background: #ffd9d2;
  border-color: #ef9b8e;
  color: #c4422f;
  box-shadow:
    inset 0 0 4px rgba(196, 66, 47, 0.20),
    0 0 6px rgba(239, 68, 68, 0.25);
}
.odonto-top--treated {
  background: #c6e9d3;
  border-color: #6fc28a;
  color: #137a3b;
  box-shadow:
    inset 0 0 4px rgba(20, 110, 50, 0.20),
    0 0 6px rgba(52, 199, 89, 0.25);
}

/* Laser markers (futuristic glow) */
.odonto-laser {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    #ff6b6b 0%,
    #ef4444 30%,
    rgba(239, 68, 68, 0.35) 60%,
    rgba(239, 68, 68, 0) 80%
  );
  box-shadow:
    0 0 6px #ef4444,
    0 0 12px rgba(239, 68, 68, 0.7),
    0 0 22px rgba(239, 68, 68, 0.45);
  filter: blur(1px);
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 6;
  animation: odontoLaserPulse 2s ease-in-out infinite;
}
/* Laser sopra il dente — alzato verso la parte superiore del dente, a metà */
.odonto-arch--upper .odonto-laser { top: 22px; }
.odonto-arch--lower .odonto-laser { bottom: 28px; }

/* Variante blu — posizionata più in alto, proprio sul dente */
.odonto-laser--blue {
  background: radial-gradient(
    circle at center,
    #80c0ff 0%,
    #4d8df9 30%,
    rgba(77, 141, 249, 0.35) 60%,
    rgba(77, 141, 249, 0) 80%
  );
  box-shadow:
    0 0 6px #4d8df9,
    0 0 12px rgba(77, 141, 249, 0.7),
    0 0 22px rgba(77, 141, 249, 0.45);
}
.odonto-arch--upper .odonto-laser--blue { top: 34px; }
.odonto-arch--lower .odonto-laser--blue { bottom: 38px; }
@keyframes odontoLaserPulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.15); }
}

/* Tooth status badges inline (next to relevant tooth) */
.odonto-mark {
  position: absolute;
  transform: translateX(-50%);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
  z-index: 7;
  pointer-events: none;
}
.odonto-arch--upper .odonto-mark { top: -16px; }
.odonto-arch--lower .odonto-mark { bottom: -16px; }
.odonto-mark--red {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.55), 0 2px 4px rgba(0, 0, 0, 0.18);
}
.odonto-mark--green {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.55), 0 2px 4px rgba(0, 0, 0, 0.18);
}
.odonto-mark--blue {
  background: #4d8df9;
  box-shadow: 0 0 8px rgba(77, 141, 249, 0.55), 0 2px 4px rgba(0, 0, 0, 0.18);
}
.odonto-mark--grey {
  background: #6e6e73;
  box-shadow: 0 0 8px rgba(110, 110, 115, 0.40), 0 2px 4px rgba(0, 0, 0, 0.18);
}

/* Mockup 6 — Anamnesi digitale */
.mini-img--anamnesi {
  background: #f5f5f7;
  padding: 22px 18px;
}
.ana-card {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 30px -12px rgba(80, 30, 140, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ana-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #1d1d1f;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f3;
}
.ana-row:last-child { border-bottom: none; padding-bottom: 0; }
.ana-q { font-weight: 500; }
.ana-tag {
  background: #f1f3f6;
  color: #6e6e73;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.ana-tag--warn { background: #fff0ec; color: #c4422f; }
.ana-tag--ok   { background: #e6f6ec; color: #137a3b; }

/* Mockup — Vista occlusale (superiore + inferiore) */
.mini-img--occl {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.16) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 18px 16px;
  gap: 10px;
}
.occl-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.occl-img {
  position: relative;
  height: 100%;
  display: inline-block;
  line-height: 0;
}
.occl-img img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 2px 6px rgba(40, 30, 90, 0.15));
}
.occl-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 50%,
    transparent 100%
  );
  flex-shrink: 0;
}

/* Markers + laser sulle viste occlusali */
.occl-mark {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
  z-index: 7;
  pointer-events: none;
}
.occl-mark--red {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.55), 0 2px 4px rgba(0, 0, 0, 0.18);
}
.occl-mark--green {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.55), 0 2px 4px rgba(0, 0, 0, 0.18);
}
.occl-mark--blue {
  background: #4d8df9;
  box-shadow: 0 0 8px rgba(77, 141, 249, 0.55), 0 2px 4px rgba(0, 0, 0, 0.18);
}
.occl-mark--grey {
  background: #6e6e73;
  box-shadow: 0 0 8px rgba(110, 110, 115, 0.40), 0 2px 4px rgba(0, 0, 0, 0.18);
}

.occl-laser {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 6;
  filter: blur(1px);
  animation: occlLaserPulse 2s ease-in-out infinite;
}
.occl-laser--red {
  background: radial-gradient(
    circle at center,
    #ff6b6b 0%,
    #ef4444 30%,
    rgba(239, 68, 68, 0.35) 60%,
    rgba(239, 68, 68, 0) 80%
  );
  box-shadow:
    0 0 6px #ef4444,
    0 0 12px rgba(239, 68, 68, 0.7),
    0 0 22px rgba(239, 68, 68, 0.45);
}
.occl-laser--blue {
  background: radial-gradient(
    circle at center,
    #80c0ff 0%,
    #4d8df9 30%,
    rgba(77, 141, 249, 0.35) 60%,
    rgba(77, 141, 249, 0) 80%
  );
  box-shadow:
    0 0 6px #4d8df9,
    0 0 12px rgba(77, 141, 249, 0.7),
    0 0 22px rgba(77, 141, 249, 0.45);
}
@keyframes occlLaserPulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.15); }
}

/* Mockup — Cartella parodontale completa */
.mini-img--perio {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(52, 199, 89, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(239, 68, 68, 0.10) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  box-sizing: border-box;
  justify-content: center;
  width: 100%;
  height: 100%;
  align-self: stretch;
}

/* Liquid glass per stat KPI + chart card */
.perio-glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow:
    0 6px 16px -6px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  box-sizing: border-box;
}

/* 4 KPI stats */
.perio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.perio-stat {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.perio-stat-label {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.perio-stat-value {
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1.1;
}
.perio-stat-value em {
  font-style: normal;
  font-size: 8px;
  font-weight: 500;
  color: #8a8a8f;
  margin-left: 1px;
}

/* Diagnosi card */
.perio-diag {
  padding: 7px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
}
.perio-diag-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.perio-diag-label {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.perio-diag-value {
  font-size: 10.5px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.perio-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.perio-flag {
  font-size: 8.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.perio-flag--warn { background: #fff3d6; color: #c47a05; }
.perio-flag--bad  { background: #ffe1de; color: #c4422f; }
.perio-flag--neutral { background: #e8e9ec; color: #6e6e73; }
.perio-flag--ok { background: #d4f5dd; color: #137a3b; }

/* Chart parodontale completo */
.perio-chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 8px;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
.perio-arch {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.perio-numbers {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 0;
  font-size: 7px;
  color: #8a8a8f;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.perio-numbers span {
  text-align: center;
  line-height: 1;
}
.perio-row {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
}
.perio-row--bop {
  min-height: 9px;
}
.perio-row--pd {
  font-size: 7.5px;
  font-weight: 700;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.perio-row--pd .hi { color: #c4422f; }
.perio-row--badge {
  min-height: 9px;
}

/* BoP / placca dots */
.perio-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.10);
  display: inline-block;
}
.perio-dot--bleed {
  background: #ef4444;
  box-shadow: 0 0 4px rgba(239, 68, 68, 0.55);
}
.perio-dot--plaque {
  background: #ff9f0a;
  box-shadow: 0 0 4px rgba(255, 159, 10, 0.45);
}

/* Pocket-depth bars */
.perio-bars {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 2px;
  align-items: end;
  min-height: 13px;
}
.perio-bars--lower { align-items: start; }
.perio-bar {
  display: block;
  width: 80%;
  margin: 0 auto;
  border-radius: 2px;
  background: #34c759;
  height: 5px;
}
.perio-bar--ok {
  background: #34c759;
  height: 5px;
  box-shadow: 0 0 4px rgba(52, 199, 89, 0.3);
}
.perio-bar--warn {
  background: #ff9f0a;
  height: 8px;
  box-shadow: 0 0 4px rgba(255, 159, 10, 0.45);
}
.perio-bar--bad {
  background: #ef4444;
  height: 12px;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.55);
}

/* Mobility / furca badges per tooth */
.perio-badge {
  display: inline-block;
  font-size: 7px;
  font-weight: 800;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  text-align: center;
  line-height: 9px;
  color: #fff;
  letter-spacing: 0;
}
.perio-badge--mob {
  background: #6e6e73;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.18);
}
.perio-badge--furca {
  background: #4d8df9;
  box-shadow: 0 0 3px rgba(77, 141, 249, 0.45);
}

.perio-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.10) 50%,
    transparent 100%
  );
  margin: 4px 0;
  flex-shrink: 0;
}

/* Legenda */
.perio-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 8px;
  color: #6e6e73;
  font-weight: 500;
  padding: 0 2px;
  align-items: center;
  justify-content: center;
}
.perio-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.perio-legend-item .perio-bar {
  width: 8px;
  height: 5px;
  margin: 0;
  display: inline-block;
}
.perio-legend-item .perio-bar--warn { height: 6px; }
.perio-legend-item .perio-bar--bad { height: 7px; }
.perio-legend-item .perio-dot {
  width: 6px;
  height: 6px;
}

/* Mockup — Storico del dente (timeline) */
.mini-img--storico {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.16) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  align-self: stretch;
  justify-content: center;
}

.storico-glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow:
    0 6px 16px -6px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  box-sizing: border-box;
}

/* Header con dente + nome */
.storico-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.storico-tooth {
  position: relative;
  width: 36px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.storico-tooth img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}
.storico-tooth-num {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #1d1d1f;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.20);
  font-variant-numeric: tabular-nums;
}
.storico-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.storico-label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.storico-name strong {
  font-size: 12px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* KPI 4 cards */
.storico-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  width: 100%;
  box-sizing: border-box;
}
.storico-stat {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.storico-stat-label {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.storico-stat-value {
  font-size: 11.5px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.storico-stat-value--accent { color: #c47a05; }

/* Timeline */
.storico-timeline {
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}
.storico-track {
  position: relative;
  height: 2px;
  background: rgba(0, 0, 0, 0.10);
  border-radius: 999px;
  margin: 6px 6px 4px;
}
.storico-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #6e6e73;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.20);
}
.storico-dot--check { background: #6e6e73; }
.storico-dot--diag  { background: #c47a05; }
.storico-dot--int   { background: #22c55e; }
.storico-dot--bad   { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.55); }
.storico-dot--today {
  background: transparent;
  border: 2px solid #0058e6;
  width: 13px;
  height: 13px;
  box-shadow: 0 0 6px rgba(0, 88, 230, 0.45);
}
.storico-dot--next {
  background: transparent;
  border: 1.5px dashed #0058e6;
  box-shadow: none;
}
.storico-years {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  font-size: 7px;
  color: #8a8a8f;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.storico-years span:first-child { text-align: left; }
.storico-years span:last-child  { text-align: right; }

/* Legend (inline) */
.storico-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 7.5px;
  color: #6e6e73;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.storico-leg {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.storico-leg .storico-dot {
  position: static;
  transform: none;
  width: 6px;
  height: 6px;
  display: inline-block;
}
.storico-leg .storico-dot--today {
  width: 8px;
  height: 8px;
  border-width: 1.5px;
}
.storico-leg .storico-dot--next {
  width: 8px;
  height: 8px;
  border-width: 1px;
}

/* Lista eventi */
.storico-events {
  padding: 4px 11px;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}
.storico-event {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.storico-event:first-child {
  border-top: none;
}
.storico-ev-date {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 86px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  padding-right: 12px;
  box-sizing: border-box;
}
.storico-ev-date strong {
  font-size: 10.5px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.2;
}
.storico-ev-date span {
  font-size: 8px;
  color: #8a8a8f;
  font-weight: 500;
  margin-top: 1px;
  white-space: nowrap;
  line-height: 1.2;
}
.storico-ev-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.storico-ev-info strong {
  font-size: 10.5px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.storico-ev-info span {
  font-size: 8.5px;
  color: #6e6e73;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mockup 7 — Radiografie & immagini */
.mini-img--xray {
  background: #f5f5f7;
  padding: 20px;
}
.xray-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  height: 100%;
}
.xray-thumb {
  border-radius: 10px;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1a2540;
}

/* Mockup 8 — Piano di cura firmabile (Liquid Glass) */
.mini-img--plan {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.16) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.plan-glass {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  padding: 20px;
  box-shadow:
    0 14px 30px -12px rgba(40, 30, 90, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
}
.plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.plan-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8a8f;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.plan-patient {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.plan-code {
  font-size: 11px;
  color: #8a8a8f;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.plan-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.plan-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #3d3d42;
  font-variant-numeric: tabular-nums;
}
.plan-row span:last-child {
  color: #1d1d1f;
  font-weight: 600;
  white-space: nowrap;
}
.plan-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  padding-top: 12px;
  margin-top: 4px;
  font-weight: 700;
  font-size: 15px;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.plan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
}
.plan-rate {
  font-size: 11.5px;
  color: #6e6e73;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.plan-sign {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #137a3b;
  font-weight: 600;
}
.plan-sign-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #34c759;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

/* Mockup 9 — Documenti e consensi (Drive-style tiles) */
.mini-img--docs {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.16) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  align-items: stretch;
}
.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
  min-height: 0;
  width: 100%;
}
.doc-tile {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 12px;
  box-shadow:
    0 8px 18px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.doc-thumb {
  flex: 1;
  min-height: 0;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.doc-thumb-line {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e6e8ee, #f0f2f6);
}
.doc-thumb-line--short { width: 60%; }
.doc-tile-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-tile-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: #8a8a8f;
  font-variant-numeric: tabular-nums;
}
.docs-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.docs-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px dashed rgba(0, 88, 230, 0.35);
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #0058e6;
}
.docs-foot--alt {
  border: 1px dashed rgba(80, 30, 140, 0.35);
  color: #6b3acf;
}
.docs-foot-ico {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 88, 230, 0.12);
  color: #0058e6;
  font-size: 13px;
  font-weight: 700;
}
.docs-foot-ico--alt {
  background: rgba(107, 58, 207, 0.12);
  color: #6b3acf;
}

/* Mockup 10 — Analisi generale (Liquid Glass KPIs) */
.mini-img--analytics {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.16) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  align-items: stretch;
}
.ana-period {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
}
.ana-period-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ana-period-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.ana-period-value {
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.ana-period-pill {
  font-size: 11px;
  font-weight: 700;
  color: #0058e6;
  background: rgba(0, 88, 230, 0.10);
  border: 1px solid rgba(0, 88, 230, 0.22);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.ana-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.ana-kpi {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  box-sizing: border-box;
}
.ana-kpi--lg {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(0, 88, 230, 0.10), rgba(107, 58, 207, 0.06)),
    rgba(255, 255, 255, 0.55);
}
.ana-kpi-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.ana-kpi-value {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.ana-kpi--lg .ana-kpi-value { font-size: 22px; }
.ana-kpi-delta {
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ana-up   { color: #137a3b; }
.ana-down { color: #c4422f; }

/* Mockup 11 — Analisi commerciale (KPIs + venduto per categoria) */
.mini-img--commercial {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.16) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  align-items: stretch;
}
.comm-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.comm-kpi {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}
.comm-kpi-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.comm-kpi-value {
  font-size: 20px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.comm-kpi-delta {
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.comm-cats {
  flex: 1;
  min-height: 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}
.comm-cats-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.comm-cats-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.comm-cats-total {
  font-size: 12px;
  font-weight: 700;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.comm-cat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comm-cat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.comm-cat-name {
  font-size: 12px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.comm-cat-val {
  font-size: 11px;
  font-weight: 700;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.comm-bar {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.comm-bar-fill {
  height: 100%;
  border-radius: 999px;
}
.comm-bar--blue   { background: linear-gradient(90deg, #2363d6, #6ba0f0); }
.comm-bar--purple { background: linear-gradient(90deg, #5a45cf, #b9aef5); }
.comm-bar--green  { background: linear-gradient(90deg, #1ea66a, #6fd9a6); }
.comm-bar--orange { background: linear-gradient(90deg, #e07a1a, #f0b070); }
.comm-bar--gray   { background: linear-gradient(90deg, #6e6e73, #c0c0c5); }
.comm-cat-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: #8a8a8f;
  font-variant-numeric: tabular-nums;
}

/* Mockup 12 — Analisi operatore (KPIs + lista) */
.mini-img--operators {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.16) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  align-items: stretch;
}
.op-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.op-kpi {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}
.op-kpi-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.op-kpi-value {
  font-size: 17px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.op-list {
  flex: 1;
  min-height: 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.op-list-head {
  display: grid;
  grid-template-columns: 1fr 80px 80px;
  gap: 10px;
  padding: 4px 0 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.op-col-name,
.op-col-val {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.op-col-val { text-align: right; }
.op-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.op-row:last-child { border-bottom: none; }
.op-who {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.op-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.op-who-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.op-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.op-role {
  font-size: 9.5px;
  font-weight: 600;
  color: #8a8a8f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.op-val {
  font-size: 11.5px;
  font-weight: 700;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* Mockup 13 — Opportunità commerciali (4 tiles) */
.mini-img--opps {
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.16) 0%, transparent 55%),
    #f5f5f7;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  align-items: stretch;
}
.opps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
}
.opps-eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8a8f;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.opps-title {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.opps-pill {
  font-size: 11px;
  font-weight: 700;
  color: #6b3acf;
  background: rgba(107, 58, 207, 0.10);
  border: 1px solid rgba(107, 58, 207, 0.22);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.opps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.opp-tile {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.opp-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.55;
  z-index: 0;
}
.opp-tile--blue::before   { background: linear-gradient(135deg, rgba(35, 99, 214, 0.14), transparent 60%); }
.opp-tile--purple::before { background: linear-gradient(135deg, rgba(107, 58, 207, 0.14), transparent 60%); }
.opp-tile--green::before  { background: linear-gradient(135deg, rgba(30, 166, 106, 0.14), transparent 60%); }
.opp-tile--orange::before { background: linear-gradient(135deg, rgba(224, 122, 26, 0.14), transparent 60%); }
.opp-tile > * { position: relative; z-index: 1; }
.opp-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.opp-tile-ico {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.opp-tile-count {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.opp-tile-name {
  font-size: 12px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.opp-tile-val {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.opp-tile--blue   .opp-tile-val { color: #2363d6; }
.opp-tile--purple .opp-tile-val { color: #6b3acf; }
.opp-tile--green  .opp-tile-val { color: #137a3b; }
.opp-tile--orange .opp-tile-val { color: #b85e15; }
.opp-tile-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: #8a8a8f;
  margin-top: auto;
}

/* Mini pagination dots (no container) */
.mini-pagination-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.mini-pagination {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.mp-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c7c7cc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.3s ease;
}
.mp-dot:hover { background: #a1a1a6; }
.mp-dot.is-active {
  width: 28px;
  background: #6e6e73;
}

@media (max-width: 760px) {
  .mini-slider { --mini-pad: 24px; padding: 64px 0 80px; }
  .mini-card { flex-basis: 78vw; }
}

/* ============================== TAGLINE STRIP ============================== */
.tagline-strip {
  padding: 130px 0 110px;
  background: #fff;
}
.icon-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.ic {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  color: var(--fg);
  transition: transform .25s ease, background .25s ease;
}
.ic:hover { transform: translateY(-4px); background: var(--grey-50); }
.ic-fill { background: var(--fg); color: #fff; }
.ic-fill:hover { background: var(--grey-1000); }
.tagline {
  text-align: left;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  max-width: 28ch;
  color: var(--fg);
}

/* ============================== FEATURE SECTIONS ============================== */
.feature-section {
  padding: 80px 0;
  background: #fff;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 760px;
}
.feature-copy {
  padding-left: 8px;
  max-width: 100%;
}
.feature-h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 22px;
  color: var(--fg);
}
.feature-p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 0 0 24px;
  max-width: 100%;
}

.feature-art { position: relative; width: 100%; }
.card-mock {
  position: relative;
  background: var(--bg-soft);
  border-radius: 28px;
  padding: 56px;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Inbox card */
.card-inbox {
  align-items: stretch;
  padding: 56px;
  flex-direction: column;
  justify-content: flex-start;
}
.inbox-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; color: var(--fg-mute);
  margin-bottom: 28px;
}
.inbox-title { font-weight: 500; color: var(--fg); }
.inbox-row {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid #ffd0d0;
  box-shadow: 0 0 0 1px #ffe5e5, 0 14px 32px -16px rgba(255,80,80,0.18);
  padding: 22px 26px;
  border-radius: 16px;
}
.inbox-text { flex: 1; }
.inbox-text strong { display: block; font-size: 18px; font-weight: 500; }
.inbox-sub {
  display: block;
  font-size: 14px;
  color: var(--fg-mute);
  margin-top: 6px;
}
.inbox-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: var(--fg-mute);
}
.inbox-status {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--grey-300);
  border-top-color: var(--bolt-blue);
  display: inline-block;
}

/* Editor card */
.card-editor {
  align-items: stretch;
  padding: 0;
  flex-direction: column;
}
.editor-tabs {
  display: flex;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 12px 18px 0;
  gap: 6px;
}
.etab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  font-size: 16px;
  color: var(--fg-mute);
  border-radius: 10px 10px 0 0;
}
.etab.active {
  background: #fff;
  color: var(--fg);
  font-weight: 500;
}
.etab .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.etab .dot.blue { background: var(--bolt-blue); }
.etab .dot.grey { background: var(--grey-300); }
.etab em { font-style: normal; }
.editor-breadcrumb {
  padding: 22px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  color: var(--fg-mute);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.editor-breadcrumb em { font-style: normal; padding: 0 8px; opacity: .5; }
.editor-breadcrumb strong {
  color: #c44e3c;
  font-weight: 500;
}
.editor-input {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  background: #fff;
  position: relative;
}
.editor-input .ln { color: var(--grey-300); width: 20px; }
.editor-input .prompt { color: var(--bolt-blue); font-style: italic; }
/* caret-blink removed */
.autocomplete {
  margin: 0 32px 32px 76px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.18);
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  overflow: hidden;
}
.ac-row {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 18px;
  color: var(--fg);
}
.ac-row:first-child {
  background: var(--bg-2);
}
.ac-icon {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: 13px;
  border-radius: 4px;
  flex-shrink: 0;
}
.ac-icon.kw   { color: #2c8a3e; }
.ac-icon.mod  { color: #7a4dff; }
.ac-icon.prop { color: #d4a017; font-style: italic; }
.ac-icon.imp  { color: var(--fg-mute); }
.ac-icon.obj  { color: #2c8a3e; font-size: 12px; }
.ac-tag {
  margin-left: auto;
  color: var(--fg-mute);
  font-size: 13px;
}
.ac-tag.muted { font-style: italic; }

/* Prompt card (Higher-level Abstractions) */
.card-prompt {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 80px 64px;
  background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%);
}
.prompt-bubble {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px -22px rgba(0,0,0,0.12);
  border-radius: 18px;
  padding: 26px 32px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg);
  max-width: 620px;
  margin-top: 0;
}

/* Composer card (Cross-surface) */
.card-composer {
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 56px 56px;
  background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%);
}
.composer-input {
  display: flex; align-items: center;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px -16px rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 24px 28px;
  font-size: 19px;
  margin-bottom: 16px;
}
.composer-placeholder {
  flex: 1;
  color: var(--fg-mute);
}
.composer-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bolt-blue);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 600;
}
.composer-chips {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.chip {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  color: var(--fg-dim);
}

/* Feedback card */
.card-feedback {
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 64px 56px;
  background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%);
}
.fb-headline {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 56px;
  color: var(--fg);
}

/* ============================== BUILDERS ============================== */
.builders {
  padding: 130px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.builders-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}
.builders-lead { margin: 0; }
.builder-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.bcard {
  background: var(--bg-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.bcard-photo {
  position: relative;
  height: 240px;
  background: linear-gradient(160deg, #c8cdd4 0%, #9aa0a8 100%);
}
.bcard-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.18), transparent 50%);
}
.bp1 { background: linear-gradient(160deg, #d3d6da, #8c9097); }
.bp2 { background: linear-gradient(160deg, #b8a89a, #5a4d40); }
.bp3 { background: linear-gradient(160deg, #d8d0c2, #786c5a); }
.bp4 { background: linear-gradient(160deg, #cad4dc, #6d7a8a); }
.bcard-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}
.bcard h4 {
  margin: 22px 22px 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.bcard p {
  margin: 0 22px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-dim);
  flex: 1;
}
.bcard-link {
  display: block;
  margin: 0 22px 22px;
  font-size: 13px;
  color: var(--bolt-blue);
  font-weight: 500;
}

/* ============================== TWO-COL PRICING (dotted) ============================== */
.two-col {
  position: relative;
  padding: 160px 0;
  background: #fff;
  overflow: hidden;
}
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--grey-300) 1px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.55;
  z-index: 0;
}
.two-col-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: center;
}
.tc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.tc-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg);
  margin-bottom: 6px;
}
.tc-eyebrow {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--fg-mute);
}
.tc-title {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--fg);
}

/* ============================== BLOGS ============================== */
.blogs { padding: 120px 0; background: #fff; }
.blogs-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 20px;
}
.blogs-head .feature-h2 { margin: 0; }
.blog-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.blog-card {
  background: #fff;
  display: flex;
  flex-direction: column;
}
.bg-art {
  position: relative;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #050b1f;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 16px;
}
.bg-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #6cf6ff, transparent),
    radial-gradient(1px 1px at 60% 80%, #8a7bff, transparent),
    radial-gradient(1px 1px at 80% 20%, #6cf6ff, transparent),
    radial-gradient(1px 1px at 30% 70%, #ffe27a, transparent),
    radial-gradient(1px 1px at 90% 50%, #6cf6ff, transparent),
    radial-gradient(1px 1px at 15% 85%, #8a7bff, transparent),
    radial-gradient(1px 1px at 50% 15%, #ffe27a, transparent);
  background-size: 200px 200px;
  opacity: 0.7;
}
.bg-1 { background: linear-gradient(180deg, #061025 0%, #050b1f 100%); }
.bg-2 { background: linear-gradient(180deg, #062510 0%, #051f0b 100%); }
.bg-3 { background: linear-gradient(180deg, #2a1a05 0%, #1f0f03 100%); }
.bg-4 { background: linear-gradient(180deg, #050b1f 0%, #08081a 100%); }
.g31, .g3f {
  position: relative;
  z-index: 2;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #6cf6ff, #8a7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.banana {
  position: relative; z-index: 2;
  font-size: 80px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.3));
}
.experience {
  position: relative; z-index: 2;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 10px 20px;
}
.blog-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.blog-meta {
  font-size: 13px;
  color: var(--fg-mute);
  margin-bottom: 10px;
}
.blog-link {
  font-size: 13px;
  color: var(--bolt-blue);
  font-weight: 500;
}
.blog-pagination {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 36px;
}
.pg-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grey-300);
}
.pg-dot.active { background: var(--fg); }

/* ============================== DOWNLOAD DARK CTA ============================== */
.download-dark {
  position: relative;
  margin: 16px;
  border-radius: 32px;
  background: #000;
  overflow: hidden;
  padding: 160px 32px 200px;
}
.download-light {
  position: relative;
  margin: 16px;
  border-radius: 32px;
  background: #f5f5f7;
  overflow: hidden;
  padding: 160px 32px 200px;
}
.download-light .download-inner { text-align: center; }
.download-light .download-title { color: var(--color-black); }
.download-light .download-actions { justify-content: center; }
#lightning-cta {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.download-inner {
  position: relative;
  z-index: 2;
  text-align: left;
}
.download-title {
  font-size: clamp(48px, 7.2vw, 100px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 60px;
  color: #fff;
}
.download-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* ============================== AI SCIENTIFICA (full-width dark) ============================== */
.ai-section {
  position: relative;
  background:
    linear-gradient(to bottom,
      #000 0%,
      #050507 14%,
      #0c0c0f 28%,
      #111114 50%,
      #111114 100%);
  color: #fff;
  padding: 140px 0 160px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.ai-inner { padding: 0 32px; box-sizing: border-box; }
.ai-section::before,
.ai-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      transparent 0%,
      #4285f4 12%,
      #9b72f5 26%,
      #e25563 40%,
      #f4a93a 54%,
      #34a853 68%,
      #4285f4 82%,
      transparent 100%);
  background-size: 220% 100%;
  animation:
    aiBorderShift 7s linear infinite,
    aiBorderPulse 4.2s ease-in-out infinite;
}
.ai-section::before {
  display: none;
}
.ai-section::after {
  top: -18px;
  height: 56px;
  filter: blur(20px);
  opacity: 0.85;
}
@keyframes aiBorderShift {
  0%   { background-position:   0% 50%; }
  100% { background-position: 220% 50%; }
}
@keyframes aiBorderPulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1;    }
}
.ai-section::after {
  animation:
    aiBorderShift 7s linear infinite,
    aiBorderPulseGlow 4.2s ease-in-out infinite;
}
@keyframes aiBorderPulseGlow {
  0%, 100% { opacity: 0.20; }
  50%      { opacity: 0.75; }
}
.ai-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.ai-section,
.ai-section h2,
.ai-section p,
.ai-section span,
.ai-section .darvix-bubble {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.ai-eyebrow {
  display: block;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #f7e8a8 0%, #d4a437 30%, #b8862a 55%, #f3dc8f 80%, #8c5e1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ai-title {
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: #fff;
}
.ai-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #86868b;
}
.ai-logo {
  display: block;
  margin: 64px auto 0;
  height: clamp(120px, 15vw, 220px);
  width: auto;
  opacity: 0.95;
  animation: darvixGlitch 9s steps(1, end) infinite;
  will-change: transform, filter, opacity;
}
@keyframes darvixGlitch {
  0%, 100% { opacity: 0.95; filter: none; transform: translate(0, 0); }

  /* — false contact burst 1 (rapid on/off cluster ~22–24%) — */
  22.0% { opacity: 0.05; }
  22.2% { opacity: 0.95; }
  22.4% { opacity: 0.10; filter: brightness(0.4); }
  22.6% { opacity: 0.95; filter: none; }
  22.8% { opacity: 0.30; filter: brightness(1.8); }
  23.0% { opacity: 0.95; filter: none; }
  23.4% { opacity: 0.08; }
  23.6% { opacity: 0.95; }

  /* — clean period — */

  /* — chromatic aberration tear ~46–47% — */
  46.0% { opacity: 0.95; filter: drop-shadow(1.5px 0 0 #ff2d55) drop-shadow(-1.5px 0 0 #00d4ff); transform: translate(-1px, 0); }
  46.4% { opacity: 0.40; filter: brightness(1.4); transform: translate(1px, 0); }
  46.7% { opacity: 0.95; filter: drop-shadow(-2px 0 0 #ff2d55) drop-shadow(2px 0 0 #00d4ff); transform: translate(-1px, 0); }
  47.0% { opacity: 0.95; filter: none; transform: translate(0, 0); }

  /* — clean period — */

  /* — micro-flicker ~63% — */
  63.0% { opacity: 0.20; }
  63.2% { opacity: 0.95; }

  /* — false contact burst 2 (longer, ~78–82%) — */
  78.0% { opacity: 0.05; transform: translate(0, 1px); }
  78.2% { opacity: 0.95; filter: drop-shadow(1px 0 0 #ff2d55) drop-shadow(-1px 0 0 #00d4ff); transform: translate(-1px, 0); }
  78.5% { opacity: 0.10; filter: brightness(0.3); transform: translate(1px, 0); }
  78.7% { opacity: 0.95; filter: none; transform: translate(0, 0); }
  79.0% { opacity: 0.40; filter: brightness(2.2); }
  79.2% { opacity: 0.95; filter: none; }
  79.5% { opacity: 0.05; }
  79.7% { opacity: 0.95; filter: drop-shadow(-2px 0 0 #ff2d55) drop-shadow(2px 0 0 #00d4ff); transform: translate(1px, -1px); }
  80.0% { opacity: 0.30; transform: translate(-1px, 1px); }
  80.3% { opacity: 0.95; filter: none; transform: translate(0, 0); }
  80.6% { opacity: 0.15; }
  80.9% { opacity: 0.95; }

  /* — micro-flicker before next loop ~94% — */
  94.0% { opacity: 0.40; filter: brightness(1.5); }
  94.2% { opacity: 0.95; filter: none; }
  94.6% { opacity: 0.10; }
  94.8% { opacity: 0.95; }
}

/* --- DarviX sub-blocks (rounded black cards) --- */
.ai-voice,
.ai-plan,
.ai-predict {
  margin: 60px 16px 0;
  padding: 96px 32px 80px;
  max-width: none;
  width: auto;
  background: #000;
  border-radius: 32px;
  box-sizing: border-box;
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.ai-voice { margin-top: 90px; }
.darvix-stage {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(280px, 30vw, 380px);
  padding-bottom: 90px;
}
.darvix-orb {
  position: relative;
  width: clamp(140px, 16vw, 200px);
  height: clamp(140px, 16vw, 200px);
  z-index: 2;
}
.darvix-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center,
      rgba(243, 220, 143, 0.30) 0%,
      rgba(212, 164, 55, 0.15) 35%,
      rgba(212, 164, 55, 0.04) 65%,
      transparent 100%);
  filter: blur(20px);
  animation: darvixGlow 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.darvix-ring,
.darvix-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.darvix-ring {
  border-style: solid;
  background: transparent;
}
.darvix-ring--1 {
  border-width: 3px;
  border-color: rgba(247, 232, 168, 0.95) transparent transparent rgba(212, 164, 55, 0.65);
  animation: darvixSpin 3.2s linear infinite;
}
.darvix-ring--2 {
  inset: 10%;
  border-width: 1px;
  border-color: transparent rgba(243, 220, 143, 0.55) transparent rgba(184, 134, 42, 0.30);
  animation: darvixSpinReverse 5.4s linear infinite;
}
.darvix-ring--3 {
  inset: 22%;
  border-width: 4px;
  border-color: rgba(212, 164, 55, 0.85) rgba(247, 232, 168, 0.30) transparent transparent;
  animation: darvixSpin 7.5s linear infinite;
}
.darvix-ring--4 {
  inset: 30%;
  border-width: 1px;
  border-color: transparent transparent rgba(140, 94, 28, 0.85) rgba(184, 134, 42, 0.40);
  animation: darvixSpinReverse 9.5s linear infinite;
}
.darvix-ring--5 {
  inset: -8%;
  border-width: 1px;
  border-color: rgba(247, 232, 168, 0.40) transparent rgba(212, 164, 55, 0.25) transparent;
  animation: darvixSpinReverse 11s linear infinite;
}
.darvix-ring--6 {
  inset: -16%;
  border-width: 2px;
  border-color: transparent rgba(212, 164, 55, 0.35) transparent rgba(243, 220, 143, 0.18);
  animation: darvixSpin 13s linear infinite;
}
.darvix-ring--7 {
  inset: 4%;
  border-width: 5px;
  border-color: rgba(184, 134, 42, 0.50) transparent transparent transparent;
  animation: darvixSpin 4.5s linear infinite;
}
.darvix-core {
  inset: 46%;
  background:
    radial-gradient(circle at 30% 30%, #fff4c8 0%, #f3dc8f 30%, #d4a437 55%, #8c5e1c 100%);
  box-shadow:
    0 0 22px rgba(212, 164, 55, 0.55),
    inset 0 -3px 8px rgba(140, 94, 28, 0.6),
    inset 0 3px 8px rgba(255, 244, 200, 0.6);
  animation: darvixPulse 2.4s ease-in-out infinite;
}
@keyframes darvixSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes darvixSpinReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes darvixPulse {
  0%, 100% { transform: scale(1);    opacity: 1;   }
  50%      { transform: scale(1.10); opacity: 0.88; }
}
@keyframes darvixGlow {
  0%, 100% { opacity: 0.10; transform: scale(0.85); }
  50%      { opacity: 0.55; transform: scale(1);    }
}

/* --- DarviX speech bubbles --- */
.darvix-bubble {
  position: absolute;
  width: min(560px, calc(100% - 40px));
  max-width: 560px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(243, 220, 143, 0.30);
  border-radius: 18px;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    0 10px 30px -10px rgba(212, 164, 55, 0.25),
    inset 0 1px 0 rgba(243, 220, 143, 0.20);
  font-size: 14px;
  line-height: 1.4;
  color: #f3dc8f;
  font-weight: 500;
  letter-spacing: -0.005em;
  opacity: 0;
  z-index: 1;
}
.darvix-bubble {
  bottom: 0;
  left: 50%;
  text-align: center;
}
.darvix-bubble--left      { animation: darvixBubble1 25s ease-in-out infinite; }
.darvix-bubble--right     { animation: darvixBubble2 25s ease-in-out infinite; }
.darvix-bubble--top-left  { animation: darvixBubble3 25s ease-in-out infinite; }
.darvix-bubble--top-right { animation: darvixBubble4 25s ease-in-out infinite; }
.darvix-bubble--bottom    { animation: darvixBubble5 25s ease-in-out infinite; }

@keyframes darvixBubble1 {
  0%      { opacity: 0; transform: translate(-50%, 16px); }
  3%      { opacity: 1; transform: translate(-50%, 0);    }
  17%     { opacity: 1; transform: translate(-50%, 0);    }
  20%     { opacity: 0; transform: translate(-50%, -16px);}
  100%    { opacity: 0; transform: translate(-50%, 16px); }
}
@keyframes darvixBubble2 {
  0%, 20% { opacity: 0; transform: translate(-50%, 16px); }
  23%     { opacity: 1; transform: translate(-50%, 0);    }
  37%     { opacity: 1; transform: translate(-50%, 0);    }
  40%     { opacity: 0; transform: translate(-50%, -16px);}
  100%    { opacity: 0; transform: translate(-50%, 16px); }
}
@keyframes darvixBubble3 {
  0%, 40% { opacity: 0; transform: translate(-50%, 16px); }
  43%     { opacity: 1; transform: translate(-50%, 0);    }
  57%     { opacity: 1; transform: translate(-50%, 0);    }
  60%     { opacity: 0; transform: translate(-50%, -16px);}
  100%    { opacity: 0; transform: translate(-50%, 16px); }
}
@keyframes darvixBubble4 {
  0%, 60% { opacity: 0; transform: translate(-50%, 16px); }
  63%     { opacity: 1; transform: translate(-50%, 0);    }
  77%     { opacity: 1; transform: translate(-50%, 0);    }
  80%     { opacity: 0; transform: translate(-50%, -16px);}
  100%    { opacity: 0; transform: translate(-50%, 16px); }
}
@keyframes darvixBubble5 {
  0%, 80% { opacity: 0; transform: translate(-50%, 16px); }
  83%     { opacity: 1; transform: translate(-50%, 0);    }
  97%     { opacity: 1; transform: translate(-50%, 0);    }
  100%    { opacity: 0; transform: translate(-50%, -16px);}
}

/* --- Plan auto-flow (input → DARVIX → output) --- */
.ai-plan-flow {
  margin: 56px auto 0;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ai-plan-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 26px;
  text-align: left;
  box-shadow:
    0 14px 40px -20px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.ai-plan-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ai-plan-panel-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #8a8a8f;
}
.ai-plan-panel-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d4a437;
  font-variant-numeric: tabular-nums;
}
.ai-plan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-plan-chip {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c8c8cc;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.ai-plan-chip--warn {
  color: #ff8b3d;
  border-color: rgba(255, 139, 61, 0.35);
  background: rgba(255, 139, 61, 0.06);
}
.ai-plan-arrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0;
}
.ai-plan-arrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 164, 55, 0.45), transparent);
}
.ai-plan-arrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #f3dc8f;
  padding: 9px 16px;
  border: 1px solid rgba(212, 164, 55, 0.40);
  border-radius: 999px;
  background: rgba(212, 164, 55, 0.06);
  white-space: nowrap;
}
.ai-plan-arrow-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff4c8 0%, #f3dc8f 30%, #d4a437 70%);
  box-shadow: 0 0 8px rgba(212, 164, 55, 0.8);
  animation: aiPlanPulse 1.4s ease-in-out infinite;
}
@keyframes aiPlanPulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.4); opacity: 0.6; }
}
.ai-plan-output,
.ai-predict-card--risk {
  position: relative;
  border: 2px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(90deg,
      transparent 0%,
      #4285f4 12%,
      #9b72f5 26%,
      #e25563 40%,
      #f4a93a 54%,
      #34a853 68%,
      #4285f4 82%,
      transparent 100%) border-box;
  background-size: 100% 100%, 220% 100%;
  animation: aiPlanBorderShift 7s linear infinite;
  box-shadow: none;
}
@keyframes aiPlanBorderShift {
  0%   { background-position: 0% 0%,   0% 50%; }
  100% { background-position: 0% 0%, 220% 50%; }
}

/* --- Predictive medicine flow (timeline + risk/action panels) --- */
.ai-predict-flow {
  margin: 56px auto 0;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.ai-predict-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 30px 12px 0;
}
.ai-predict-line {
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(111, 217, 166, 0.50) 0%,
    rgba(111, 217, 166, 0.50) 25%,
    rgba(244, 169, 58, 0.50) 50%,
    rgba(226, 85, 99, 0.50) 100%);
}
.ai-predict-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.ai-predict-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10);
  position: relative;
  z-index: 1;
}
.ai-predict-step--ok   .ai-predict-dot { background: #6fd9a6; box-shadow: 0 0 0 1px rgba(111, 217, 166, 0.40), 0 0 12px rgba(111, 217, 166, 0.40); }
.ai-predict-step--med  .ai-predict-dot { background: #f4a93a; box-shadow: 0 0 0 1px rgba(244, 169, 58, 0.40), 0 0 12px rgba(244, 169, 58, 0.40); }
.ai-predict-step--high .ai-predict-dot { background: #e25563; box-shadow: 0 0 0 1px rgba(226, 85, 99, 0.40), 0 0 12px rgba(226, 85, 99, 0.40); animation: aiPredictPulse 2s ease-in-out infinite; }
@keyframes aiPredictPulse {
  0%, 100% { transform: scale(1);    }
  50%      { transform: scale(1.18); }
}
.ai-predict-year {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c8c8cc;
  font-variant-numeric: tabular-nums;
}
.ai-predict-risk {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ai-predict-step--ok   .ai-predict-risk { color: #6fd9a6; }
.ai-predict-step--med  .ai-predict-risk { color: #f4a93a; }
.ai-predict-step--high .ai-predict-risk { color: #e25563; }

.ai-predict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ai-predict-tag-red {
  color: #e25563;
}
.ai-predict-list {
  display: flex;
  flex-direction: column;
}
.ai-predict-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ai-predict-row:last-child { border-bottom: none; }
.ai-predict-disease {
  color: #e8e8eb;
  flex: 1;
  min-width: 0;
}
.ai-predict-prob {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.ai-predict-prob--high { color: #e25563; background: rgba(226, 85, 99, 0.10); border: 1px solid rgba(226, 85, 99, 0.30); }
.ai-predict-prob--med  { color: #f4a93a; background: rgba(244, 169, 58, 0.10); border: 1px solid rgba(244, 169, 58, 0.30); }
.ai-predict-prob--ok   { color: #6fd9a6; background: rgba(111, 217, 166, 0.10); border: 1px solid rgba(111, 217, 166, 0.30); }

@media (max-width: 760px) {
  .ai-predict-flow { margin-top: 36px; gap: 20px; }
  .ai-predict-timeline {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0;
  }
  .ai-predict-line { display: none; }
  .ai-predict-step {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    text-align: left;
  }
  .ai-predict-dot { width: 12px; height: 12px; flex-shrink: 0; }
  .ai-predict-year { flex: 1; }
  .ai-predict-grid { grid-template-columns: 1fr; gap: 12px; }
  .ai-predict-row { font-size: 11px; padding: 10px 0; gap: 10px; }
  .ai-predict-prob { font-size: 10.5px; padding: 3px 8px; }
}
.ai-plan-rows {
  display: flex;
  flex-direction: column;
}
.ai-plan-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #e8e8eb;
}
.ai-plan-row:last-child { border-bottom: none; }
.ai-plan-num {
  color: #8a8a8f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.ai-plan-row-text {
  color: #e8e8eb;
}
.ai-plan-row-val {
  color: #d4a437;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.ai-plan-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6fd9a6;
}
.ai-plan-check {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(111, 217, 166, 0.15);
  border: 1px solid rgba(111, 217, 166, 0.40);
  color: #6fd9a6;
  font-size: 9px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .ai-plan-flow { margin-top: 36px; gap: 12px; }
  .ai-plan-panel { padding: 18px 18px; border-radius: 16px; }
  .ai-plan-panel-head { padding-bottom: 12px; margin-bottom: 12px; }
  .ai-plan-arrow { flex-direction: column; gap: 8px; }
  .ai-plan-arrow-line {
    width: 1px;
    height: 18px;
    background: linear-gradient(180deg, transparent, rgba(212, 164, 55, 0.45), transparent);
  }
  .ai-plan-arrow-tag {
    font-size: 10px;
    padding: 8px 14px;
    text-align: center;
    white-space: normal;
  }
  .ai-plan-row {
    grid-template-columns: 28px 1fr auto;
    gap: 10px;
    font-size: 11.5px;
    padding: 10px 0;
  }
  .ai-plan-chip { font-size: 10.5px; padding: 6px 10px; }
}

@media (max-width: 760px) {
  .darvix-stage {
    max-width: 100%;
    padding: 0 20px 170px;
    min-height: clamp(320px, 70vw, 420px);
  }
  .darvix-orb {
    width: clamp(170px, 42vw, 220px);
    height: clamp(170px, 42vw, 220px);
  }
  .darvix-bubble {
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    font-size: 17px;
    line-height: 1.42;
    padding: 18px 22px;
    border-radius: 22px;
  }
}

@media (max-width: 760px) {
  .ai-voice { margin-top: 120px; }
  .darvix-orb { margin-top: 48px; }
}

@media (max-width: 760px) {
  .ai-section { padding: 96px 0 110px; }
  .ai-inner { padding: 0 24px; }
  .ai-voice,
  .ai-plan,
  .ai-predict {
    margin: 120px 0 0;
    padding: 64px 20px 56px;
    border-radius: 0;
  }
  .ai-plan,
  .ai-predict { margin-top: 32px; }
}

/* ============================== ROLE PAGE (Per chi) ============================== */
.c-header_link--active .hover-underline { background-size: 100% 1px; }

.hero-light--plain {
  padding: 200px 32px 100px;
}
.hero-light--plain .hero-light-content {
  max-width: 1100px;
  position: relative;
  z-index: 3;
}

/* --- Hero animated background per role --- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease);
}
.hero-bg-layer.is-active {
  opacity: 1;
  transform: scale(1);
}

/* — Drawing animation (lines that "draw in" then shimmer) — */
.hero-draw {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: heroDrawIn 1.6s var(--ease) forwards, heroShimmer 6s linear 1.6s infinite;
}
.hero-bg-layer:not(.is-active) .hero-draw {
  animation: none;
  stroke-dashoffset: 2400;
}
.hero-draw--slow {
  animation-duration: 2.4s, 8s;
}
@keyframes heroDrawIn {
  to { stroke-dashoffset: 0; }
}
@keyframes heroShimmer {
  0%   { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -2400; }
}

/* — Pulsing dots — */
.hero-pulse-dot circle,
.hero-tooth-nodes circle,
.hero-sparkles circle,
.hero-net-nodes circle {
  transform-origin: center;
  transform-box: fill-box;
  animation: heroDotPulse 2.6s ease-in-out infinite;
}
.hero-pulse-dot circle:nth-child(2) { animation-delay: 0.3s; }
.hero-pulse-dot circle:nth-child(3) { animation-delay: 0.6s; }
.hero-tooth-nodes circle:nth-child(odd)  { animation-delay: 0s; animation-duration: 3s; }
.hero-tooth-nodes circle:nth-child(even) { animation-delay: 0.7s; animation-duration: 3.4s; }
.hero-sparkles circle:nth-child(1) { animation-delay: 0s;   animation-duration: 2.2s; }
.hero-sparkles circle:nth-child(2) { animation-delay: 0.4s; animation-duration: 2.8s; }
.hero-sparkles circle:nth-child(3) { animation-delay: 0.8s; animation-duration: 2.4s; }
.hero-sparkles circle:nth-child(4) { animation-delay: 1.2s; animation-duration: 3.0s; }
.hero-sparkles circle:nth-child(5) { animation-delay: 0.2s; animation-duration: 2.6s; }
.hero-sparkles circle:nth-child(6) { animation-delay: 0.6s; animation-duration: 2.0s; }
.hero-net-nodes circle:nth-child(1) { animation-delay: 0s;   animation-duration: 2s;   }
.hero-net-nodes circle:nth-child(2) { animation-delay: 0.3s; animation-duration: 3.2s; }
.hero-net-nodes circle:nth-child(3) { animation-delay: 0.6s; animation-duration: 3.4s; }
.hero-net-nodes circle:nth-child(4) { animation-delay: 0.9s; animation-duration: 3.0s; }
.hero-net-nodes circle:nth-child(5) { animation-delay: 1.2s; animation-duration: 3.6s; }
@keyframes heroDotPulse {
  0%, 100% { transform: scale(1);   opacity: var(--o, 0.85); }
  50%      { transform: scale(1.5); opacity: 0.4; }
}

/* — Continuous slow rotation (igienista rays) — */
.hero-spin {
  transform-origin: 700px 450px;
  animation: heroSpin 28s linear infinite;
}
@keyframes heroSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* — Concentric ring breath — */
.hero-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: heroRingBreath 4s ease-in-out infinite;
}
.hero-ring--2 {
  animation: heroRingBreath 5s ease-in-out infinite, heroRingSpin 30s linear infinite;
  animation-delay: 0.5s;
}
@keyframes heroRingBreath {
  0%, 100% { transform: scale(1);    opacity: 0.55; }
  50%      { transform: scale(1.06); opacity: 1;    }
}
@keyframes heroRingSpin {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

/* — Clock hands — */
.hero-clock-hand {
  transform-origin: 700px 450px;
  animation: heroSpin 22s linear infinite;
}
.hero-clock-hand--min {
  animation-duration: 6s;
}

/* — Network pulse lines (dashed travel) — */
.hero-net-pulse {
  animation: heroDashFlow 3s linear infinite;
}
@keyframes heroDashFlow {
  to { stroke-dashoffset: -120; }
}

/* — Dental bars rise — */
.hero-bars line {
  transform-origin: bottom center;
  transform-box: fill-box;
  animation: heroBarRise 2s ease-out forwards;
}
.hero-bg-layer:not(.is-active) .hero-bars line {
  animation: none;
  transform: scaleY(0);
}
.hero-bars line:nth-child(1) { animation-delay: 0.0s; }
.hero-bars line:nth-child(2) { animation-delay: 0.08s; }
.hero-bars line:nth-child(3) { animation-delay: 0.16s; }
.hero-bars line:nth-child(4) { animation-delay: 0.24s; }
.hero-bars line:nth-child(5) { animation-delay: 0.32s; }
.hero-bars line:nth-child(6) { animation-delay: 0.40s; }
.hero-bars line:nth-child(7) { animation-delay: 0.48s; }
.hero-bars line:nth-child(8) { animation-delay: 0.56s; }
@keyframes heroBarRise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.hero-light-caption {
  max-width: 820px;
  margin: 36px auto 0;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--fg-mute);
}
.role-badges {
  margin: 64px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 200px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-mute);
  text-decoration: none;
  transition: all 0.25s var(--ease);
  box-sizing: border-box;
}
.role-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.role-badge:hover {
  border-color: rgba(0, 0, 0, 0.20);
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.85);
}
.role-badge--active {
  background: var(--color-black);
  color: #fff;
  border-color: var(--color-black);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.35);
}
.role-badge--active:hover {
  background: var(--color-black);
  color: #fff;
}
@media (max-width: 760px) {
  .role-badges {
    margin-top: 36px;
    gap: 10px;
    padding: 0 4px;
  }
  .role-badge {
    min-width: 150px;
    padding: 12px 16px;
    font-size: 14px;
    gap: 10px;
  }
  .role-badge svg { width: 18px; height: 18px; }
}

.role-section {
  padding: 80px 32px;
  background: #fff;
}
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.role-text { display: flex; flex-direction: column; gap: 18px; }
.role-eyebrow {
  display: block;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--fg-mute);
}
.role-title {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin: 0;
}
.role-caption {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-mute);
  margin: 0;
}
.role-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.role-list li {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-mute);
  letter-spacing: -0.005em;
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.role-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0058e6;
}
.role-list li span {
  color: var(--color-black);
  font-weight: 700;
}

/* --- Role mockups (Liquid Glass) --- */
.role-visual { display: flex; justify-content: flex-end; }
.role-mock {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.16) 0%, transparent 55%),
    #f5f5f7;
  border-radius: 22px;
  padding: 22px;
  box-shadow:
    0 30px 60px -28px rgba(40, 30, 90, 0.30),
    0 8px 18px -8px rgba(40, 30, 90, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  overflow: hidden;
}
.rm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.rm-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1d1d1f;
  text-transform: uppercase;
}
.rm-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: #0058e6;
  background: rgba(0, 88, 230, 0.10);
  border: 1px solid rgba(0, 88, 230, 0.22);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.rm-pill--gold {
  color: #b8862a;
  background: rgba(212, 164, 55, 0.10);
  border-color: rgba(212, 164, 55, 0.30);
}
.rm-pill--green {
  color: #137a3b;
  background: rgba(19, 122, 59, 0.10);
  border-color: rgba(19, 122, 59, 0.25);
}
.rm-grid--4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rm-kpi {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rm-kpi-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.rm-kpi-val {
  font-size: 17px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.rm-kpi-delta {
  font-size: 10px;
  font-weight: 700;
  color: #6e6e73;
  font-variant-numeric: tabular-nums;
}
.rm-up   { color: #137a3b; }
.rm-down { color: #c4422f; }

.rm-bar-row {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rm-bar-label {
  font-size: 11px;
  font-weight: 700;
  color: #1d1d1f;
}
.rm-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.rm-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2363d6, #6ba0f0);
  border-radius: 999px;
}
.rm-bar--blue   { background: linear-gradient(90deg, #2363d6, #6ba0f0); }
.rm-bar--purple { background: linear-gradient(90deg, #5a45cf, #b9aef5); }
.rm-bar--green  { background: linear-gradient(90deg, #1ea66a, #6fd9a6); }
.rm-bar-val {
  font-size: 10.5px;
  font-weight: 700;
  color: #6e6e73;
  font-variant-numeric: tabular-nums;
}

/* — chips (dentista) — */
.rm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rm-chip {
  font-size: 11px;
  font-weight: 600;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 5px 10px;
  border-radius: 999px;
}
.rm-chip--warn {
  color: #c4422f;
  background: rgba(196, 66, 47, 0.06);
  border-color: rgba(196, 66, 47, 0.22);
}

/* — AI suggestion box (dentista) — */
.rm-suggest {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(212, 164, 55, 0.40);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow:
    0 6px 16px -8px rgba(212, 164, 55, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.rm-suggest-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.rm-suggest-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff4c8, #d4a437);
  box-shadow: 0 0 8px rgba(212, 164, 55, 0.60);
}
.rm-suggest-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #b8862a;
  text-transform: uppercase;
}
.rm-suggest-row {
  font-size: 11.5px;
  font-weight: 600;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
}
.rm-suggest-row--ok { color: #137a3b; font-weight: 700; }

/* — Patient list (igienista, segreteria) — */
.rm-list {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 4px 14px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.rm-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 11.5px;
}
.rm-list--compact .rm-row {
  grid-template-columns: 50px 1fr auto;
}
.rm-row:last-child { border-bottom: none; }
.rm-row-time {
  font-size: 11px;
  font-weight: 700;
  color: #0058e6;
  font-variant-numeric: tabular-nums;
}
.rm-row-name {
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.rm-row-meta {
  font-size: 10.5px;
  font-weight: 600;
  color: #8a8a8f;
}
.rm-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.rm-tag--ok   { background: #e6f6ec; color: #137a3b; }
.rm-tag--med  { background: #fff4e0; color: #b8761c; }
.rm-tag--warn { background: #fff0ec; color: #c4422f; }

.rm-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 700;
  color: #0058e6;
}
.rm-foot-ico {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 88, 230, 0.12);
  color: #0058e6;
  font-size: 11px;
  font-weight: 700;
}

/* — WhatsApp message (segreteria) — */
.rm-msg {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rm-msg-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.rm-msg-app { color: #25D366; }
.rm-msg-bubble {
  background: #dcf8c6;
  color: #0e2d1e;
  border-radius: 12px 12px 12px 2px;
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.45;
  align-self: flex-start;
  max-width: 100%;
}
.rm-msg-reply {
  font-size: 11px;
  font-weight: 700;
  color: #137a3b;
  align-self: flex-end;
}

/* — Multi-sede sites — */
.rm-sites {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rm-site {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow:
    0 6px 16px -8px rgba(40, 30, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rm-site-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.rm-site-name {
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.rm-site-team {
  font-size: 10px;
  font-weight: 700;
  color: #8a8a8f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rm-site-val {
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  .hero-light--plain { padding: 140px 24px 60px; }
  .hero-light-caption { margin-top: 24px; }
  .role-section { padding: 56px 24px; }
  .role-grid { grid-template-columns: 1fr; gap: 36px; }
  .role-visual { justify-content: center; }
  .role-mock { max-width: 100%; padding: 18px; }
}

/* --- Dynamic role content (3-card layout, swap by badge) --- */
.roles-content {
  padding: 100px 32px 120px;
  background: #fff;
}
.roles-content-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.roles-panel { display: none; }
.roles-panel.is-active { display: block; animation: rolePanelIn 0.5s var(--ease); }
@keyframes rolePanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.roles-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.roles-head-text { flex: 1; max-width: 800px; }
.roles-title {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin: 0 0 18px;
}
.roles-subtitle {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: var(--fg-mute);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.roles-head .btn { flex-shrink: 0; }
.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.role-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.role-card-mock {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 20% 25%, rgba(77, 141, 249, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(180, 124, 227, 0.16) 0%, transparent 55%),
    #f5f5f7;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow:
    0 24px 50px -28px rgba(40, 30, 90, 0.25),
    0 6px 14px -8px rgba(40, 30, 90, 0.10);
}
.role-card-body {
  padding: 24px 4px 0;
}
.role-card-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-black);
  margin: 0 0 8px;
}
.role-card-desc {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--fg-mute);
  letter-spacing: -0.005em;
  margin: 0;
}

/* — Mock helpers (compact Liquid Glass) — */
.rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  box-shadow: 0 6px 14px -8px rgba(40, 30, 90, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.rc-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d1d1f;
}
.rc-eyebrow--gold { color: #b8862a; }
.rc-pill {
  font-size: 9.5px;
  font-weight: 700;
  color: #0058e6;
  background: rgba(0, 88, 230, 0.10);
  border: 1px solid rgba(0, 88, 230, 0.22);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.rc-pill--purple { color: #6b3acf; background: rgba(107, 58, 207, 0.10); border-color: rgba(107, 58, 207, 0.22); }
.rc-pill--green  { color: #137a3b; background: rgba(19, 122, 59, 0.10); border-color: rgba(19, 122, 59, 0.25); }
.rc-up   { color: #137a3b; font-size: 9.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-down { color: #c4422f; font-size: 9.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* KPI grid (titolare card 1) */
.rc-kpi-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rc-kpi {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 6px 14px -8px rgba(40, 30, 90, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
}
.rc-kpi-l {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.rc-kpi strong {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* Operator bars (titolare card 2) */
.rc-op {
  display: grid;
  grid-template-columns: 100px 1fr 50px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  font-size: 10px;
}
.rc-op-name { font-weight: 700; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-op-val  { font-weight: 700; color: #1d1d1f; font-variant-numeric: tabular-nums; text-align: right; }

/* Bars */
.rc-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.rc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2363d6, #6ba0f0);
  border-radius: 999px;
}
.rc-bar-blue   { background: linear-gradient(90deg, #2363d6, #6ba0f0); }
.rc-bar-purple { background: linear-gradient(90deg, #5a45cf, #b9aef5); }
.rc-bar-green  { background: linear-gradient(90deg, #1ea66a, #6fd9a6); }

/* Pipeline tiles (titolare card 3) */
.rc-tile-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rc-tile {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 6px 14px -8px rgba(40, 30, 90, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  overflow: hidden;
}
.rc-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.3;
  z-index: 0;
}
.rc-tile--blue::before   { background: linear-gradient(135deg, rgba(35, 99, 214, 0.15), transparent 60%); }
.rc-tile--purple::before { background: linear-gradient(135deg, rgba(107, 58, 207, 0.15), transparent 60%); }
.rc-tile--green::before  { background: linear-gradient(135deg, rgba(30, 166, 106, 0.15), transparent 60%); }
.rc-tile--orange::before { background: linear-gradient(135deg, rgba(224, 122, 26, 0.15), transparent 60%); }
.rc-tile > * { position: relative; z-index: 1; }
.rc-tile-n {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.rc-tile-l {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8f;
  text-transform: uppercase;
}
.rc-tile-v {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rc-tile--blue   .rc-tile-v { color: #2363d6; }
.rc-tile--purple .rc-tile-v { color: #6b3acf; }
.rc-tile--green  .rc-tile-v { color: #137a3b; }
.rc-tile--orange .rc-tile-v { color: #b85e15; }

/* Chips (dentista card 1) */
.rc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.rc-chip {
  font-size: 10px;
  font-weight: 600;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 4px 9px;
  border-radius: 999px;
}
.rc-chip--warn {
  color: #c4422f;
  background: rgba(196, 66, 47, 0.06);
  border-color: rgba(196, 66, 47, 0.22);
}

/* Mini list (dentista card 1, igienista card 2) */
.rc-mini {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rc-mini-row {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: #6e6e73;
  font-variant-numeric: tabular-nums;
}
.rc-mini-row strong {
  color: #1d1d1f;
  font-weight: 700;
}

/* AI suggestion (dentista card 2) */
.rc-orb-mini {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}
.rc-orb-mini span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff4c8, #d4a437);
  box-shadow: 0 0 6px rgba(212, 164, 55, 0.6);
  animation: rcOrbPulse 1.4s ease-in-out infinite;
}
.rc-orb-mini span:nth-child(2) { animation-delay: 0.2s; }
.rc-orb-mini span:nth-child(3) { animation-delay: 0.4s; }
@keyframes rcOrbPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.5; }
}
.rc-suggest {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(212, 164, 55, 0.30);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rc-suggest-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8862a;
  margin-bottom: 4px;
}
.rc-suggest-line {
  font-size: 10.5px;
  font-weight: 600;
  color: #1d1d1f;
}
.rc-suggest--ok { color: #137a3b; }

/* Plan rows (dentista card 3) */
.rc-plan-rows {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 4px 12px;
  flex: 1;
}
.rc-plan-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 10.5px;
}
.rc-plan-row:last-child { border-bottom: none; }
.rc-plan-row span:nth-child(2) { color: #1d1d1f; font-weight: 600; }
.rc-plan-row span:nth-child(3) { color: #1d1d1f; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.rc-plan-n { color: #8a8a8f; font-size: 9px; font-weight: 700; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

/* Generic list (igienista, segretaria, multi-sede) */
.rc-list {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 4px 12px;
  flex: 1;
}
.rc-list-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 10.5px;
}
.rc-list-row:last-child { border-bottom: none; }
.rc-list-row:has(.rc-list-time) {
  grid-template-columns: 38px 1fr auto;
}
.rc-list-time { color: #0058e6; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 10px; }
.rc-list-name { color: #1d1d1f; font-weight: 700; }
.rc-tag {
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.rc-tag--ok   { background: #e6f6ec; color: #137a3b; }
.rc-tag--med  { background: #fff4e0; color: #b8761c; }
.rc-tag--warn { background: #fff0ec; color: #c4422f; }
.rc-tag--blue   { background: #e8f0ff; color: #2363d6; }
.rc-tag--purple { background: #f1edff; color: #6b3acf; }
.rc-tag--green  { background: #e6f6ec; color: #137a3b; }

/* Footer line in mocks */
.rc-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  color: #0058e6;
}
.rc-foot-ico {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 88, 230, 0.12);
  color: #0058e6;
  font-size: 10px;
  font-weight: 700;
}
.rc-qr {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  background: #1d1d1f;
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
}

/* Chart svg (igienista card 2) */
.rc-chart {
  flex: 1;
  width: 100%;
  height: auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 12px;
  box-sizing: border-box;
}

/* Programs (igienista card 3) */
.rc-prog {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 6px 12px;
  flex: 1;
}
.rc-prog-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.rc-prog-row:last-child { border-bottom: none; }
.rc-prog-row strong { display: block; font-size: 11px; font-weight: 700; color: #1d1d1f; }
.rc-prog-row span:not(.rc-dot) { display: block; font-size: 10px; color: #8a8a8f; font-weight: 600; }
.rc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rc-dot--green  { background: #6fd9a6; box-shadow: 0 0 6px rgba(111, 217, 166, 0.5); }
.rc-dot--orange { background: #f4a93a; box-shadow: 0 0 6px rgba(244, 169, 58, 0.5); }
.rc-dot--red    { background: #e25563; box-shadow: 0 0 6px rgba(226, 85, 99, 0.5); }
.rc-dot--blue   { background: #4d8df9; box-shadow: 0 0 6px rgba(77, 141, 249, 0.5); }

/* WhatsApp message (segretaria card 1) */
.rc-msg {
  flex: 1;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.rc-msg-bubble {
  background: #dcf8c6;
  color: #0e2d1e;
  border-radius: 12px 12px 12px 2px;
  padding: 10px 12px;
  font-size: 10.5px;
  line-height: 1.45;
  align-self: flex-start;
  max-width: 90%;
}
.rc-msg-reply {
  background: #1d1d1f;
  color: #fff;
  padding: 6px 12px;
  border-radius: 12px 12px 2px 12px;
  font-size: 10.5px;
  font-weight: 700;
  align-self: flex-end;
}
.rc-msg-status {
  font-size: 10px;
  font-weight: 700;
  color: #137a3b;
  align-self: flex-end;
}

/* Invoice (segretaria card 3) */
.rc-invoice {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 10px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.rc-invoice-row {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  padding: 4px 0;
}
.rc-invoice-row span:last-child { font-weight: 700; }
.rc-invoice-total {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}

/* Sites (multi-sede card 1) */
.rc-sites {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rc-site {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 70px 1fr 60px;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.rc-site strong { color: #1d1d1f; font-weight: 700; }
.rc-site span { color: #1d1d1f; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.rc-site .rc-bar { width: 100%; }

/* Compare (multi-sede card 2) */
.rc-compare {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  padding: 6px 14px;
  flex: 1;
}
.rc-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 10.5px;
  color: #6e6e73;
  font-weight: 600;
}
.rc-compare-row:last-child { border-bottom: none; }
.rc-compare-row strong {
  color: #1d1d1f;
  font-weight: 700;
  font-size: 11px;
}

@media (max-width: 980px) {
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .roles-head { flex-direction: column; }
}
@media (max-width: 760px) {
  .roles-content { padding: 56px 24px 80px; }
  .roles-grid { grid-template-columns: 1fr; gap: 20px; }
  .roles-head { gap: 24px; margin-bottom: 40px; }
}

/* ============================== PRICING PAGE ============================== */
.hero-light--pricing {
  padding: 200px 32px 120px;
  min-height: auto;
  align-items: flex-start;
}
.hero-light--pricing .hero-light-content {
  max-width: 1280px;
  width: 100%;
}
.hero-light--pricing .pricing-grid { margin-top: 64px; }

.pricing-toggle {
  display: inline-flex;
  margin: 40px auto 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.pricing-toggle-btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-mute);
  cursor: pointer;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s var(--ease);
}
.pricing-toggle-btn:hover { color: var(--color-black); }
.pricing-toggle-btn.is-active {
  background: var(--color-black);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.45);
}
.pricing-toggle-save {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(19, 122, 59, 0.15);
  color: #137a3b;
  letter-spacing: 0.02em;
}
.pricing-toggle-btn.is-active .pricing-toggle-save {
  background: rgba(255, 255, 255, 0.20);
  color: #6fd9a6;
}

/* Tiers (Liquid Glass) — live inside hero */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow:
    0 24px 50px -24px rgba(40, 30, 90, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.30);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 60px -22px rgba(40, 30, 90, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.40);
}
/* Gold name */
.pricing-card--gold .pricing-name {
  background: linear-gradient(135deg, #d4a437 0%, #f3dc8f 50%, #b8862a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Platinum (light glass with silver name) */
.pricing-card--platinum .pricing-name {
  background: linear-gradient(135deg, #6e6e73 0%, #c0c0c5 30%, #8a8a8f 55%, #d4d4d9 80%, #6e6e73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.pricing-check--platinum {
  background: linear-gradient(135deg, #e8e8eb, #8a8a8f) !important;
  color: #1d1d1f !important;
  font-size: 12px;
}

/* Black — premium dark Liquid Glass */
.pricing-card--black {
  background:
    radial-gradient(ellipse at top right, rgba(212, 164, 55, 0.08), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(80, 80, 90, 0.20), transparent 60%),
    rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 40px 80px -24px rgba(0, 0, 0, 0.65),
    0 12px 28px -10px rgba(212, 164, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(212, 164, 55, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
}
.pricing-card--black::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 30%, transparent 70%, rgba(212, 164, 55, 0.05) 100%);
  z-index: 0;
}
.pricing-card--black > * { position: relative; z-index: 1; }
.pricing-card--black:hover {
  box-shadow:
    0 50px 100px -24px rgba(0, 0, 0, 0.75),
    0 16px 36px -10px rgba(212, 164, 55, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(212, 164, 55, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.pricing-card--black .pricing-name {
  background: linear-gradient(135deg, #fff 0%, #d4d4d9 30%, #fff 55%, #c0c0c5 80%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.pricing-card--black .pricing-tag,
.pricing-card--black .pricing-cur,
.pricing-card--black .pricing-per,
.pricing-card--black .pricing-includes { color: #a8a8b0; }
.pricing-card--black .pricing-features li { color: #f0f0f3; }
.pricing-card--black .pricing-divider {
  background: linear-gradient(90deg, transparent, rgba(212, 164, 55, 0.30), transparent);
  height: 1px;
}
.pricing-card--black .pricing-check {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.pricing-card--black .pricing-check--gold {
  background: linear-gradient(135deg, #f3dc8f, #d4a437);
  color: #1d1d1f;
  box-shadow: 0 0 12px rgba(212, 164, 55, 0.40);
}
.pricing-card--black .btn-dark {
  background: linear-gradient(135deg, #f3dc8f, #d4a437, #b8862a);
  color: #1d1d1f;
  border: none;
  box-shadow: 0 8px 20px -8px rgba(212, 164, 55, 0.50);
}
.pricing-card--black .btn-dark:hover {
  background: linear-gradient(135deg, #fff4c8, #f3dc8f, #d4a437);
  box-shadow: 0 12px 28px -10px rgba(212, 164, 55, 0.65);
}
.pricing-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4a437, #f3dc8f, #b8862a);
  color: #1d1d1f;
  box-shadow: 0 8px 18px -8px rgba(212, 164, 55, 0.55);
}
.pricing-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pricing-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}
.pricing-tag {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: var(--fg-mute);
  letter-spacing: -0.01em;
}
.pricing-card--featured .pricing-tag { color: #a8a8b0; }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px 0 4px;
}
.pricing-cur {
  font-size: 22px;
  font-weight: 600;
  color: var(--fg-mute);
  letter-spacing: -0.01em;
}
.pricing-card--featured .pricing-cur { color: #a8a8b0; }
.pricing-amt {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pricing-amt--text {
  font-size: 32px;
  letter-spacing: -0.02em;
}
.pricing-per {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-mute);
  letter-spacing: -0.01em;
  margin-left: 4px;
}
.pricing-card--featured .pricing-per { color: #a8a8b0; }
.pricing-cta {
  width: 100%;
  justify-content: center;
}
.pricing-card--featured .btn-dark {
  background: #fff;
  color: var(--color-black);
}
.pricing-card--featured .btn-dark:hover {
  background: #f0f0f3;
}
.pricing-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 4px 0;
}
.pricing-card--featured .pricing-divider {
  background: rgba(255, 255, 255, 0.10);
}
.pricing-includes {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 -6px;
  color: var(--fg-mute);
}
.pricing-card--featured .pricing-includes { color: #a8a8b0; }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.45;
  color: var(--color-black);
}
.pricing-card--featured .pricing-features li { color: #fff; }
.pricing-check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 88, 230, 0.10);
  color: #0058e6;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-card--featured .pricing-check {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}
.pricing-check--gold {
  background: linear-gradient(135deg, #d4a437, #f3dc8f);
  color: #1d1d1f;
  font-size: 12px;
}
.pricing-card--featured .pricing-check--gold {
  background: linear-gradient(135deg, #f3dc8f, #d4a437);
  color: #1d1d1f;
}

/* FAQ accordion */
.pricing-faq {
  padding: 100px 32px;
  background: #fff;
}
.pricing-faq-inner {
  max-width: 820px;
  margin: 0 auto;
}
.pricing-faq-title {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 56px;
  color: var(--color-black);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-acc {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-acc[open] {
  border-color: rgba(0, 88, 230, 0.30);
  box-shadow: 0 14px 30px -18px rgba(0, 88, 230, 0.20);
}
.faq-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-black);
  user-select: none;
  transition: color 0.2s var(--ease);
}
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary:hover { color: #0058e6; }
.faq-acc-ico {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-acc-ico::before,
.faq-acc-ico::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq-acc-ico::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-acc[open] .faq-acc-ico::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-acc-body {
  padding: 0 26px 22px;
}
.faq-acc-body p {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--fg-mute);
  margin: 0;
  letter-spacing: -0.005em;
}

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .pricing-card--featured { order: -1; }
}
@media (max-width: 760px) {
  .hero-light--pricing { padding: 140px 24px 80px; }
  .pricing-toggle { margin-top: 28px; }
  .hero-light--pricing .pricing-grid { margin-top: 40px; }
  .pricing-card { padding: 28px 24px; }
  .pricing-amt { font-size: 44px; }
  .pricing-faq { padding: 64px 24px; }
  .faq-acc summary { padding: 18px 20px; font-size: 15px; }
  .faq-acc-body { padding: 0 20px 18px; }
}

/* ============================== REVIEWS PAGE ============================== */
.hero-light--reviews {
  padding: 200px 32px 60px;
  min-height: auto;
  align-items: flex-start;
}
.hero-light--reviews .hero-light-content {
  max-width: 1280px;
  width: 100%;
}

/* Featured review */
.reviews-featured {
  padding: 40px 32px 60px;
  background: #fff;
}
.review-feat {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.review-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.review-video--feat { aspect-ratio: 4 / 3; }
.review-video:hover { transform: translateY(-3px); }
.review-video[data-grad="1"] { background: linear-gradient(135deg, #4d8df9 0%, #6b3acf 100%); }
.review-video[data-grad="2"] { background: linear-gradient(135deg, #1ea66a 0%, #2363d6 100%); }
.review-video[data-grad="3"] { background: linear-gradient(135deg, #f4a93a 0%, #e25563 100%); }
.review-video[data-grad="4"] { background: linear-gradient(135deg, #6b3acf 0%, #e25563 100%); }
.review-video[data-grad="5"] { background: linear-gradient(135deg, #2363d6 0%, #4d8df9 100%); }
.review-video[data-grad="6"] { background: linear-gradient(135deg, #1d1d1f 0%, #5a45cf 100%); }
.review-video[data-grad="7"] { background: linear-gradient(135deg, #b8862a 0%, #1d1d1f 100%); }
.review-video[data-grad="8"] { background: linear-gradient(135deg, #137a3b 0%, #1ea66a 100%); }
.review-video[data-grad="9"] { background: linear-gradient(135deg, #4d8df9 0%, #6fd9a6 100%); }
.review-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.review-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #1d1d1f;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  z-index: 2;
}
.review-play svg { width: 28px; height: 28px; margin-left: 3px; }
.review-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}
.review-card .review-play { width: 56px; height: 56px; }
.review-card .review-play svg { width: 22px; height: 22px; }
.review-duration {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  z-index: 2;
  font-variant-numeric: tabular-nums;
}
.review-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}
.review-avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.review-feat-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0058e6;
}
.review-quote {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin: 0;
  quotes: "“" "”";
}
.review-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-person strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: -0.01em;
}
.review-person span {
  font-size: 14px;
  color: var(--fg-mute);
  font-weight: 500;
}
.review-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.review-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-stat strong {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0058e6;
  font-variant-numeric: tabular-nums;
}
.review-stat span {
  font-size: 12px;
  color: var(--fg-mute);
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Reviews section + grid */
.reviews-section {
  padding: 80px 32px 100px;
  background: #f5f5f7;
}
.reviews-section-head {
  max-width: 1280px;
  margin: 0 auto 48px;
  text-align: center;
}
.reviews-section-title {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin: 0 0 14px;
}
.reviews-section-sub {
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--fg-mute);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}
.reviews-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.reviews-filter {
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-mute);
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: all 0.2s var(--ease);
}
.reviews-filter:hover {
  color: var(--color-black);
  border-color: rgba(0, 0, 0, 0.20);
}
.reviews-filter.is-active {
  background: var(--color-black);
  color: #fff;
  border-color: var(--color-black);
}

.reviews-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.review-card .review-video { aspect-ratio: 16 / 9; border-radius: 18px; }
.review-quote-sm {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--color-black);
  margin: 8px 0 0;
  quotes: "“" "”";
}
.review-card .review-person { margin-top: -4px; }
.review-card .review-person strong { font-size: 14px; }
.review-card .review-person span { font-size: 12.5px; }
.review-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

@media (max-width: 980px) {
  .review-feat { grid-template-columns: 1fr; gap: 32px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .review-stats { gap: 12px; }
  .review-stat strong { font-size: 22px; }
}
@media (max-width: 760px) {
  .hero-light--reviews { padding: 140px 24px 40px; }
  .reviews-featured { padding: 24px 24px 48px; }
  .reviews-section { padding: 56px 24px 80px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 28px; }
  .review-play { width: 60px; height: 60px; }
  .review-play svg { width: 22px; height: 22px; }
  .review-card .review-play { width: 50px; height: 50px; }
  .review-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .review-stat strong { font-size: 20px; }
}

/* ============================== FOOTER ============================== */
.footer {
  background: #fff;
  color: var(--fg);
  padding: 100px 0 50px;
  border-top: 1px solid var(--line);
}
.footer-inner { display: grid; gap: 60px; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.footer-tag {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-cols a {
  display: block;
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--fg);
}
.footer-cols a:hover { color: var(--bolt-blue); }
.footer-wordmark {
  text-align: center;
  margin: 0;
  overflow: hidden;
}
.footer-wordmark img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 13px;
  color: var(--fg-mute);
}

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    padding: 40px 0;
  }
  .builders-head { grid-template-columns: 1fr; gap: 24px; }
  .builder-cards, .blog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top { grid-template-columns: 1fr; }
  .blogs-head { flex-direction: column; align-items: flex-start; }
  .two-col-inner { grid-template-columns: 1fr; gap: 60px; }
  .download-dark,
  .download-light { margin: 0; border-radius: 0; padding: 100px 24px 120px; }
}
@media (max-width: 640px) {
  .builder-cards, .blog-cards { grid-template-columns: 1fr; }
  .ic { width: 52px; height: 52px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .nav-cta .dl-arrow { display: none; }
}

/* ============================== TRY-MODAL ("Provalo gratis") ============================== */
.try-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.try-modal.is-open { display: flex; }
.try-modal_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: tryFadeIn .2s ease-out;
}
.try-modal_dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background:
    radial-gradient(ellipse 80% 80% at 0% 100%, #b9d4ff 0%, rgba(185, 212, 255, 0) 60%),
    radial-gradient(ellipse 80% 80% at 100% 100%, #b9d4ff 0%, rgba(185, 212, 255, 0) 60%),
    radial-gradient(ellipse 110% 70% at 50% 100%, #d6e6ff 0%, rgba(214, 230, 255, 0) 70%),
    #ffffff;
  color: var(--fg);
  border-radius: 24px;
  padding: 40px 32px 32px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.24),
    0 2px 6px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  animation: tryPop .25s cubic-bezier(.2, .8, .2, 1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
@property --tm-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.try-modal_dialog::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  padding: 2px;
  background: conic-gradient(
    from var(--tm-angle, 0deg),
    #CE8D32 0%,
    #ECAE45 12%,
    #FDD665 24%,
    #F9F8BC 36%,
    #FDD665 50%,
    #E8B658 64%,
    #D9AB50 78%,
    #CE8D32 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: tryBorderRotate 6s linear infinite;
  pointer-events: none;
}
@keyframes tryBorderRotate {
  to { --tm-angle: 360deg; }
}
@supports not (mask-composite: exclude) {
  .try-modal_dialog::before { display: none; }
  .try-modal_dialog { box-shadow: 0 24px 80px rgba(0, 0, 0, 0.30), inset 0 0 0 2px #ECAE45; }
}

.try-modal_logo {
  text-align: center;
  margin-bottom: 14px;
}
.try-modal_logo img {
  width: 110px;
  height: 110px;
  display: inline-block;
}
.try-modal_close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--fg-dim);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, color .18s ease;
}
.try-modal_close:hover { background: var(--bg-2); color: var(--fg); }
.try-modal_title {
  margin: 0 0 6px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-align: center;
}
.try-modal_subtitle {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--fg-mute);
  text-align: center;
}
.try-modal_form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.try-modal_field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.try-modal_field span {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-dim);
  letter-spacing: 0.01em;
}
.try-modal_field > input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.try-modal_field > input:hover { border-color: var(--line-2); }
.try-modal_field > input:focus {
  outline: none;
  border-color: var(--bolt-blue);
  box-shadow: 0 0 0 4px rgba(31, 109, 255, 0.14);
}
.try-modal_submit {
  width: 100%;
  margin-top: 8px;
}
.try-modal_success {
  margin: 16px 0 0;
  font-size: 14px;
  color: #137a3b;
  text-align: center;
}
.try-modal_note {
  margin: -8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-mute);
  text-align: center;
}
body.try-modal-open { overflow: hidden; }

@keyframes tryFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes tryPop {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
  .try-modal_dialog { padding: 32px 22px 24px; border-radius: 20px; }
  .try-modal_title { font-size: 22px; }
}

/* ---- Validation errors ---- */
.try-modal_error {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  color: #d93535;
  line-height: 1.3;
}
.try-modal_error:empty { display: none; }
.try-modal_field > input.has-error,
.try-modal_field > input.has-error:focus {
  border-color: #d93535;
  box-shadow: 0 0 0 4px rgba(217, 53, 53, 0.14);
}

/* ---- Phone input with country prefix ---- */
.phone-input {
  position: relative;
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.phone-input:hover { border-color: var(--line-2); }
.phone-input:focus-within {
  border-color: var(--bolt-blue);
  box-shadow: 0 0 0 4px rgba(31, 109, 255, 0.14);
}
.phone-input.has-error,
.phone-input.has-error:focus-within {
  border-color: #d93535;
  box-shadow: 0 0 0 4px rgba(217, 53, 53, 0.14);
}
.phone-input_country {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px 0 14px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 11px 0 0 11px;
  font: inherit;
  color: var(--fg);
  cursor: pointer;
  transition: background .15s ease;
  flex-shrink: 0;
}
.phone-input_country:hover { background: var(--bg-2); }
.phone-input_country:focus { outline: none; background: var(--bg-2); }
.phone-input_flag {
  font-size: 18px;
  line-height: 1;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}
.phone-input_dial {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}
.phone-input_caret {
  color: var(--fg-mute);
  margin-left: 1px;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.phone-input_country[aria-expanded="true"] .phone-input_caret {
  transform: rotate(180deg);
}
.phone-input_input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--fg);
}
.phone-input_input:focus { outline: none; box-shadow: none; }

.phone-input_menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 2;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  max-height: 280px;
  overflow: hidden;
  animation: tryPop .18s cubic-bezier(.2, .8, .2, 1);
}
.phone-input_menu[hidden] { display: none; }
.phone-input_search {
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.phone-input_search input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  transition: border-color .18s ease;
}
.phone-input_search input:focus {
  outline: none;
  border-color: var(--bolt-blue);
}
.phone-input_list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  flex: 1;
}
.phone-input_list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--fg);
  cursor: pointer;
  transition: background .12s ease;
}
.phone-input_list li:hover { background: var(--bg-2); }
.phone-input_list li[aria-selected="true"] {
  background: var(--bg-2);
  font-weight: 500;
}
.phone-input_list li .flag {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}
.phone-input_list li .name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.phone-input_list li .dial {
  color: var(--fg-mute);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.phone-input_list li.empty {
  padding: 16px;
  text-align: center;
  color: var(--fg-mute);
  font-size: 13px;
  cursor: default;
  justify-content: center;
}
.phone-input_list li.empty:hover { background: transparent; }
