.bento-grid {
  margin-top: 10px;
}
.bento-card {
  min-height: 200px;
}
.protocol-card {
  min-height: 380px;
}
.intro {
  margin-bottom: 0px;
}
/* Fix per la banda bianca e menu floater staccato dal top */
html, body {
  margin-top: 0;
  padding-top: 0;
}
.health-page {
  margin-top: 0;
}
/* Ensure ENTRA button in top floating menu fits 64px height */
#aura-top-menu {
  height: 64px;
  top: 0;
  margin-top: 0;
}
#aura-top-menu .entra-btn {
  padding: 8px 16px;
  font-size: 14px;
}

/* --- ESTRATTO DA HTML --- */

:root {
  /* Variabili rimappate chirurgicamente sui token master Aura v9.0 */
  --aura-cream: #FFFFFF;
  --aura-paper: var(--bg-surface, #F5EDE0);
  --aura-amber: var(--sovereign-gold, #DA821B);
  --aura-amber-soft: var(--aura-amber, #D48F4F);
  --aura-ink: #F5EDE0; /* testo light su fondo dark */
  --aura-muted: rgba(245, 237, 224, 0.6);
  --aura-dark: var(--bg-dark, #221810);
}
.health-page {
  isolation: isolate;
  min-height: 100vh;
  color: var(--aura-ink);
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, var(--bg-espresso, #302A2A), var(--bg-dark, #221810));
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}
.ambient {
  z-index: -1;
  pointer-events: none;
  width: 450px;
  height: 450px;
  position: absolute;
  /* Blur replaced by radial-gradient for 10x better performance */
}
.ambient-one {
  background: radial-gradient(
    circle at center,
    rgba(255, 223, 168, 0.15) 0%,
    rgba(255, 223, 168, 0) 70%
  );
  top: 12%;
  left: -240px;
}
.ambient-two {
  background: radial-gradient(
    circle at center,
    rgba(48, 32, 17, 0.3) 0%,
    rgba(48, 32, 17, 0) 70%
  );
  bottom: -110px;
  right: -250px;
}
.topbar,
.page-footer {
  justify-content: space-between;
  align-items: center;
  max-width: 1450px;
  margin: 0 auto;
  display: flex;
}
.topbar {
  height: 42px;
}
.brand {
  color: var(--aura-ink);
  letter-spacing: -0.8px;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}
.brand-mark {
  background: #ffffff1f;
  border: 1px solid #ffffff47;
  border-radius: 10px;
  place-items: center;
  width: 29px;
  height: 29px;
  display: grid;
}
.brand-period {
  color: #efc68c;
}
.topbar-center {
  color: #fffaf1b8;
  letter-spacing: 0.025em;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  display: flex;
}
.live-dot {
  background: #c5d8a6;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  box-shadow: 0 0 0 4px #c5d8a61c;
}
.topbar-link {
  color: var(--aura-ink);
  border: 1px solid #ffffff40;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  font-size: 14px;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s;
  display: inline-flex;
}
.topbar-link:hover {
  background: #ffffff1a;
  border-color: #ffffff73;
}
.intro {
  max-width: 1450px;
  margin: clamp(24px, 3vw, 48px) auto 16px;
}
.eyebrow,
.card-kicker {
  color: #e6c597;
  letter-spacing: 0.15em;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}
.eyebrow-line {
  background: #edc88f;
  width: 22px;
  height: 1px;
  display: inline-block;
}
.intro h1 {
  letter-spacing: -0.055em;
  margin: 15px 0 12px;
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 500;
  line-height: 0.99;
}
.intro h1 span {
  color: #f0d6b1;
}
.intro p {
  color: #fffaf1c2;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.bento-grid {
  grid-template-rows: minmax(380px, 1.08fr) minmax(330px, 0.92fr);
  grid-template-columns: 1.08fr 1fr 1fr;
  gap: 14px;
  max-width: 1450px;
  margin: 0 auto;
  display: grid;
}
.bento-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #ffffff1f;
  border-radius: 21px;
  min-width: 0;
  padding: clamp(22px, 2.5vw, 34px);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px #ffffff12,
    0 12px 35px #351f0c14;
}
.bento-card h2 {
  color: var(--aura-cream);
  letter-spacing: -0.045em;
  margin: 10px 0 8px;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.12;
}
.card-description,
.bento-card p {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.6;
}
.card-description {
  margin: 0;
}
.card-kicker {
  color: #ffe7c6b8;
  font-size: 14px;
}
.card-index {
  color: #fff8ec8a;
  letter-spacing: 0.12em;
  font-size: 12px;
  position: absolute;
  bottom: 22px;
  left: 30px;
}
.card-index span {
  color: #fff8ec4d;
}
.protocol-card {
  background: rgba(255, 255, 255, 0.08);
  grid-row: span 2;
  min-height: 724px;
  padding: clamp(25px, 3vw, 42px);
}
.protocol-card:after {
  content: "";
  background: linear-gradient(90deg, #0000, #ffffff24, #0000);
  height: 1px;
  position: absolute;
  inset: 34% 0 auto;
}
.card-copy {
  z-index: 2;
  max-width: 320px;
  position: relative;
}
.kicker-icon {
  color: #f4dbb8;
  border: 1px solid #ffffff2b;
  border-radius: 7px;
  place-items: center;
  width: 21px;
  height: 21px;
  display: inline-grid;
}
.protocol-card h2 {
  margin-top: 17px;
  font-size: clamp(31px, 3.1vw, 45px);
  line-height: 0.99;
}
.protocol-card .card-copy p {
  max-width: 310px;
  margin: 13px 0 20px;
  font-size: 17px;
  line-height: 1.5;
}
.light-button {
  color: #583516;
  background: #fffaf1;
  border-radius: 12px;
  align-items: center;
  gap: 19px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: inline-flex;
  box-shadow: 0 5px 18px #301b091f;
}
.light-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px #301b0933;
}
.phone-stage {
  z-index: 1;
  width: 264px;
  height: 550px;
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
}
.phone-shadow {
  filter: blur(18px);
  background: #23130985;
  border-radius: 50%;
  height: 23px;
  position: absolute;
  bottom: 7%;
  left: 8%;
  right: 2%;
}
.phone-device {
  background: linear-gradient(
    115deg,
    #77756f,
    #161716 18%,
    #08090a 79%,
    #74716b
  );
  border: 1px solid #ffffff80;
  border-radius: 37px;
  width: 100%;
  height: 100%;
  padding: 7px;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow:
    7px 12px 20px #23140857,
    inset 0 0 0 2px #090a0b;
}
.phone-screen {
  color: #473320;
  background: linear-gradient(165deg, #e9c99d, #f4e5cb 41%, #fbf5e9);
  border-radius: 30px;
  height: 100%;
  padding: 12px 12px 0;
  position: relative;
  overflow: hidden;
}
.phone-screen:before {
  z-index: 3;
  content: "";
  background: #121313;
  border-radius: 999px;
  width: 72px;
  height: 17px;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translate(-50%);
}
.phone-status,
.phone-signals {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.phone-status {
  padding: 0 1px;
  font-size: 14px;
  font-weight: 700;
}
.phone-signals {
  gap: 2px;
  height: 8px;
}
.phone-signals i {
  background: #463522;
  border-radius: 1px;
  width: 3px;
  height: 4px;
  display: block;
}
.phone-signals i:nth-child(2) {
  height: 6px;
}
.phone-signals i:nth-child(3) {
  height: 8px;
}
.phone-appbar {
  align-items: center;
  gap: 5px;
  margin-top: 19px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}
.phone-logo {
  color: #fdf7ed;
  background: #a97842;
  border-radius: 6px;
  place-items: center;
  width: 19px;
  height: 19px;
  display: grid;
}
.phone-avatar {
  background: #d7b68a;
  border-radius: 50%;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  font-size: 14px;
  display: grid;
}
.phone-greeting {
  color: #927551;
  margin-top: 19px;
  font-size: 14px;
}
.phone-title {
  letter-spacing: -0.06em;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 600;
}
.phone-subtitle {
  color: #806b53;
  margin-top: 3px;
  font-size: 14px;
}
.phone-progress {
  background: #fffaf1b8;
  border: 1px solid #95704324;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 9px;
  display: flex;
}
.phone-progress div:first-child {
  flex-direction: column;
  gap: 4px;
  display: flex;
}
.phone-progress span {
  letter-spacing: 0.08em;
  color: #9a7955;
  font-size: 12px;
}
.phone-progress strong {
  font-size: 12px;
}
.phone-progress-ring {
  border: 3px solid #c78f50;
  border-left-color: #e5d8c3;
  border-radius: 50%;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 14px;
  font-weight: 700;
  display: grid;
}
.phone-task {
  background: #fffaf1a6;
  border-radius: 10px;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  padding: 8px 7px;
  display: flex;
}
.task-check {
  color: #fff;
  background: #a77a4a;
  border-radius: 6px;
  place-items: center;
  width: 17px;
  height: 17px;
  display: grid;
}
.task-check-muted {
  background: 0 0;
  border: 1px solid #d7c4a6;
}
.phone-task > div {
  flex-direction: column;
  flex: 1;
  gap: 3px;
  display: flex;
}
.phone-task strong {
  font-size: 14px;
  font-weight: 600;
}
.phone-task small {
  color: #927d62;
  font-size: 12px;
}
.phone-insight {
  color: #8a6135;
  background: #efe0c8;
  border-radius: 8px;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 8px;
  font-size: 13px;
  line-height: 1.3;
  display: flex;
}
.phone-tabs {
  background: #fffaf1eb;
  border-top: 1px solid #95704321;
  justify-content: space-around;
  padding: 8px 2px 9px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.phone-tabs span {
  color: #99856c;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  display: flex;
}
.phone-tabs .active {
  color: #976733;
}
.metrics-card {
  flex-direction: column;
  display: flex;
}
.card-topline {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}
.metrics-card h2 {
  margin-top: 9px;
}
.metric-count {
  color: #fffaf1ad;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border: 1px solid #ffffff21;
  border-radius: 8px;
  margin-top: 8px;
  padding: 7px 9px;
  font-size: 14px;
}
.metrics-card .card-description {
  margin-top: 2px;
}
.metric-list {
  flex-direction: column;
  gap: 7px;
  margin-top: 19px;
  display: flex;
}
.metric-row {
  background: #fff8ec17;
  border: 1px solid #ffffff1c;
  border-radius: 12px;
  padding: 10px 12px 8px;
}
.metric-row:first-child {
  background: #fff8ec26;
}
.metric-row-top,
.metric-reading {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.metric-label {
  color: #fffaf1d6;
  font-size: 13px;
}
.metric-status {
  color: #e8d7bd;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  display: flex;
}
.metric-status i {
  background: #bcd397;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.metric-reading {
  color: #fffaf1a6;
  margin-top: 3px;
}
.metric-reading strong {
  color: #fff9f0;
  letter-spacing: -0.04em;
  font-size: 19px;
  font-weight: 500;
}
.metric-reading small {
  font-size: 14px;
}
.metric-change {
  color: #bbd394;
  font-size: 12px;
}
.range-track {
  background: linear-gradient(
    90deg,
    #cf7862 0 15%,
    #c9d1aa 15% 83%,
    #c58b61 83%
  );
  border-radius: 9px;
  height: 4px;
  margin-top: 9px;
  position: relative;
  overflow: visible;
  box-shadow: 0 1px 3px #00000024;
}
.range-fill {
  background: #ffffff7a;
  height: 1px;
  position: absolute;
  inset: 1px 0 auto;
}
.range-marker {
  background: #fff8ed;
  border: 1px solid #b08b5e;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px #1e120933;
}
.range-labels {
  color: #fffaf17a;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 13px;
  display: flex;
}
.card-footnote {
  color: #fffaf194;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 9px;
  font-size: 14px;
  display: flex;
}
.card-footnote > span {
  align-items: center;
  gap: 6px;
  display: flex;
}
.tiny-check {
  color: #d6e4b7;
  background: #c3d89d29;
  border-radius: 50%;
  place-items: center;
  width: 13px;
  height: 13px;
  display: grid;
}
.trend-card {
  flex-direction: column;
  display: flex;
}
.trend-card h2 {
  margin-top: 9px;
}
.trend-card .card-description {
  margin-top: 1px;
}
.device-stack {
  padding-top: 1px;
  display: flex;
}
.device {
  color: #f8f1e7;
  background: #1b1c1c;
  border: 2px solid #9f6c36;
  border-radius: 11px;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-left: -7px;
  display: grid;
  box-shadow: 0 2px 7px #21120733;
}
.device:first-child {
  margin-left: 0;
}
.device-heart {
  color: #ed7594;
  background: #fffaf1;
}
.device-ring {
  background: #25262d;
}
.device-ring span {
  border: 2px solid #eee9e1;
  border-radius: 50%;
  width: 15px;
  height: 15px;
}
.chart-wrap {
  margin-top: auto;
  padding-top: 17px;
}
.chart-legend {
  color: #fffaf1c7;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  display: flex;
}
.legend-dot {
  background: #edc68f;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}
.legend-period {
  color: #fffaf16e;
  letter-spacing: 0.09em;
  margin-left: auto;
  font-size: 13px;
}
.trend-chart {
  width: 100%;
  height: auto;
  margin-top: 1px;
  display: block;
  overflow: visible;
}
.chart-gridline {
  stroke: #ffffff29;
  stroke-dasharray: 2 4;
  stroke-width: 0.8px;
}
.chart-axis {
  fill: #fffaf17a;
  font-size: 13px;
}
.chart-area {
  fill: url(#chartFill);
}
.chart-line {
  fill: none;
  stroke: #efd1a5;
  stroke-width: 2px;
  stroke-linecap: round;
}
.chart-stem {
  stroke: #fffaf170;
  stroke-width: 1px;
}
.chart-point {
  fill: #fff7eb;
  stroke: #c69a66;
  stroke-width: 1.5px;
}
.chart-point-active {
  fill: #f0cf9f;
  stroke: #fff8ef;
  stroke-width: 2px;
}
.chart-value {
  fill: #fff7eb;
  font-size: 13px;
  font-weight: 600;
}
.chart-day {
  fill: #fffaf1a8;
  font-size: 12px;
}
.chart-bottom {
  color: #fffaf18f;
  border-top: 1px solid #ffffff1a;
  justify-content: space-between;
  gap: 8px;
  margin-top: 1px;
  padding-top: 8px;
  font-size: 14px;
  display: flex;
}
.chart-bottom span {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}
.chart-bottom span:first-child i {
  background: #c5d99c;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.chart-bottom span:last-child {
  color: #d7e4b6;
}
.ai-card {
  flex-direction: column;
  display: flex;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06) 70%), rgba(99, 58, 23, 0.65);
  color: #ffffff;
}
.ai-card h2, .ai-card p, .ai-card .card-description, .ai-card .card-kicker {
  color: #ffffff;
}
.ai-card h2,
.score-card h2 {
  margin-top: 9px;
}
.ai-card .card-description {
  max-width: 370px;
}
.chat-demo {
  width: 100%;
  max-width: 410px;
  margin: auto auto 0;
  padding-top: 12px;
}
.chat-time {
  color: #fffaf17a;
  margin-bottom: 5px;
  font-size: 14px;
}
.user-time {
  text-align: right;
}
.chat-bubble {
  border: 1px solid #fff3;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}
.user-bubble {
  background: linear-gradient(125deg, #f6e0c12b, #ffffff14);
  border-color: rgba(255, 255, 255, 0.25);
  width: fit-content;
  max-width: 83%;
  margin: 0 0 9px auto;
  padding: 10px 13px;
}
.ai-time {
  margin-left: 2px;
}
.answer-bubble {
  background: #fff9ef1a;
  border-radius: 3px 14px 14px;
  padding: 11px 12px 10px;
}
.ai-avatar {
  color: #efcd9d;
  vertical-align: middle;
  background: #fffaf121;
  border: 1px solid #ffffff21;
  border-radius: 7px;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  display: inline-grid;
}
.answer-bubble strong {
  font-size: 13px;
  font-weight: 500;
}
.answer-bubble p {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
.answer-insight {
  color: #efd0a4;
  border-top: 1px solid #ffffff1f;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
  padding-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  display: flex;
}
.answer-insight svg {
  flex: none;
  margin-top: 1px;
}
.ai-card-footer,
.score-footer {
  color: #fffaf17a;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
  font-size: 14px;
  display: flex;
}
.ai-card-footer span:first-child {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}
.privacy-lock {
  color: #e8c591;
}
.score-card {
  flex-direction: column;
  display: flex;
}
.score-card .card-description {
  margin-bottom: 12px;
}
.score-panel {
  background: linear-gradient(145deg, #ffffff1f, #ffffff0b);
  border: 1px solid #ffffff3d;
  border-radius: 15px;
  flex: 1;
  min-height: 205px;
  padding: 13px 15px 0;
  position: relative;
  overflow: hidden;
}
.score-heading {
  color: #fffaf19e;
  letter-spacing: 0.09em;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  display: flex;
}
.score-live {
  color: #c4d5a5;
  letter-spacing: 0.04em;
  margin-left: 7px;
  font-size: 12px;
}
.score-summary {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.score-summary > div {
  align-items: baseline;
  display: flex;
}
.score-summary strong {
  letter-spacing: -0.06em;
  font-size: 32px;
  font-weight: 400;
}
.score-summary div > span {
  color: #fffaf18f;
  font-size: 15px;
}
.score-summary small {
  color: #eee0ca;
  margin-left: 9px;
  font-size: 12px;
}
.score-change {
  color: #d3e2b5;
  font-size: 12px;
}
.score-change small {
  color: #fffaf18a;
}

.score-arc-bg {
  fill: none;
  stroke: #f7e1c14a;
  stroke-width: 2px;
}
.score-arc {
  fill: none;
  stroke: #f6e0b8;
  stroke-width: 3px;
  stroke-linecap: round;
}
.score-inner-bg {
  fill: #fbe4bf36;
}
.score-wedge {
  fill: #eedec778;
}
.score-wedge-muted {
  fill: #f2e2ca4d;
}
.score-knob {
  fill: #fffaf1;
  stroke: #caa174;
  stroke-width: 2px;
}
.score-label {
  fill: #fffaf1b3;
  letter-spacing: 0.09em;
  font-size: 14px;
}
.score-legend {
  z-index: 1;
  color: #fffaf199;
  justify-content: space-between;
  gap: 7px;
  font-size: 13px;
  display: flex;
  position: absolute;
  bottom: 10px;
  left: 13px;
  right: 13px;
}
.score-legend span {
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  display: inline-flex;
}
.score-legend i {
  background: #f0d5a7;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.score-legend .legend-behavior {
  background: #d3b38b;
}
.score-legend .legend-function {
  background: #9d7952;
}
.score-footer {
  margin-top: 10px;
}
.score-footer > span:first-child {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}
.footer-sparkle {
  color: #f0d2a3;
}
.page-footer {
  color: #fffaf180;
  margin-top: 18px;
  font-size: 12px;
}
.page-footer > span:last-child {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}
.footer-separator {
  color: #fffaf157;
  margin: 0 4px;
}
@media (min-width: 1500px) {
  .health-page {
    padding-top: 30px;
  }
  .intro {
    margin-top: 67px;
  }
  .bento-grid {
    grid-template-rows: minmax(400px, 1.08fr) minmax(360px, 0.92fr);
    gap: 16px;
  }
  .protocol-card {
    min-height: 780px;
  }
}
@media (max-width: 1050px) {
  .health-page {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .bento-grid {
    grid-template-rows: minmax(420px, auto) minmax(340px, auto) minmax(
        340px,
        auto
      );
    grid-template-columns: 1fr 1fr;
  }
  .protocol-card {
    grid-row: span 2;
    min-height: 700px;
  }
  .metrics-card,
  .trend-card,
  .ai-card,
  .score-card {
    min-height: 340px;
  }
  .score-panel {
    min-height: 205px;
  }
}
@media (max-width: 768px) {
  .health-page {
    padding: 18px 0px 20px !important;
  }
  .topbar-center {
    display: none;
  }
  .topbar-link {
    padding: 8px 10px;
    font-size: 13px;
  }
  .intro {
    margin: 42px 0 25px;
  }
  .intro h1 {
    font-size: clamp(41px, 12vw, 59px);
  }
  .intro p {
    max-width: 310px;
    font-size: 13px;
  }
  .desktop-break {
    display: none;
  }
  .bento-grid {
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .bento-card {
    border-radius: 18px;
    min-height: 0;
    padding: 23px;
  }
  .protocol-card {
    grid-row: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0;
    overflow: hidden;
  }
  .protocol-card:after {
    display: none;
  }
  .protocol-card h2 {
    font-size: clamp(26px, 6.5vw, 36px);
    line-height: 1.1;
  }
  .protocol-card .card-copy {
    max-width: 100%;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .protocol-card .card-copy p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
    margin: 12px 0 20px;
  }
  .phone-stage {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: min(290px, 85vw);
    height: 480px;
    margin: 20px auto -60px auto;
    z-index: 1;
    display: block;
    flex-shrink: 0;
  }
  .card-index {
    bottom: 18px;
    left: 23px;
  }
  .metrics-card {
    min-height: 365px;
  }
  .metric-list {
    margin-top: 18px;
  }
  .trend-card {
    min-height: 335px;
  }
  .trend-break {
    display: none;
  }
  .trend-card h2 {
    font-size: 25px;
  }
  .ai-card {
    min-height: 345px;
  }
  .chat-demo {
    margin-top: 20px;
  }
  .score-card {
    min-height: 364px;
  }
  .score-panel {
    min-height: 215px;
  }
  .page-footer {
    gap: 12px;
    margin-top: 16px;
    font-size: 14px;
  }
  .page-footer > span:last-child {
    text-align: right;
    justify-content: flex-end;
  }
}
@media (max-width: 380px) {
  .bento-card {
    padding: 19px;
  }
  .protocol-card {
    min-height: auto;
    padding-bottom: 0;
  }
  .phone-stage {
    width: 250px;
    height: 440px;
    margin: 16px auto -40px auto;
  }
  .score-panel {
    padding-left: 11px;
    padding-right: 11px;
  }
  .score-legend {
    gap: 3px;
    font-size: 12px;
    left: 8px;
    right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  :before,
  :after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

/* --- ESTRATTO DA HTML --- */

/* === aura-QUALITY CARD STRUCTURE (Keeping Aura Colors) === */
.feature-card,
.comp-card {
  background: #ffffff;
  border: 1px solid rgba(48, 42, 42, 0.06);
  border-radius: 32px;
  padding: 40px;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.03),
    0 1px 3px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover,
.comp-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 60px rgba(48, 42, 42, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.03);
  border-color: var(--sovereign-gold, #DA821B);
}

.confronto-col {
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

/* === APPLE-STYLE SCROLL FOR GRID VANTAGGI === */
.vantaggi-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0 40px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}
.vantaggi-ticker-wrapper::before,
.vantaggi-ticker-wrapper::after {
  display: none;
}

.ticker-track {
  display: flex;
  gap: 32px;
  padding: 20px 5vw;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  animation: none; /* Stop infinite marquee */
  width: 100%;
}
.ticker-track::-webkit-scrollbar {
  display: none;
}
.grid-vantaggi {
  display: contents;
}
.grid-vantaggi[aria-hidden="true"] {
  display: none;
}

.feature-card {
  scroll-snap-align: center;
  width: 360px;
  min-width: 360px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .feature-card {
    width: 85vw;
    min-width: 85vw;
    padding: 32px;
  }
  .cockpit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* === COCKPIT PREMIUM ANIMATION === */
.cockpit {
  background: rgba(26, 32, 35, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 32px;
  /* backdrop-filter: blur(20px); - Rimosso per prestazioni estreme */
  /* -webkit-backdrop-filter: blur(20px); */
  /* Animazione float rimosso perché causava freeze continuo (ricalcolo paint) */
  transform-style: preserve-3d;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cockpit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: skewX(-25deg);
  animation: shineCockpit 8s infinite 2s;
}

@keyframes floatCockpit {
  0% {
    transform: translateY(0px) rotateX(2deg) rotateY(-2deg);
  }
  50% {
    transform: translateY(-16px) rotateX(-1deg) rotateY(1deg);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.25);
  }
  100% {
    transform: translateY(0px) rotateX(2deg) rotateY(-2deg);
  }
}

@keyframes shineCockpit {
  0% {
    left: -100%;
  }
  20% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}

/* --- ESTRATTO DA HTML --- */

.flip-words-container {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  width: 100%;
  min-height: 2.4em;
  font-family: "Outfit", sans-serif;
}
.flip-word {
  position: absolute;
  font-family: "Outfit", sans-serif;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  color: #ffffff;
  white-space: normal;
  width: 100%;
}
.flip-word.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.flip-word.exit {
  opacity: 0;
  transform: translateY(-20px);
  position: absolute;
}

/* --- ESTRATTO DA HTML --- */

@media (max-width: 900px) {
  .hero-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .hero-aura h1 {
    font-size: 36px;
  }
}

/* --- ESTRATTO DA HTML --- */

/* MOBILE ACCORDION UX OVERRIDE per l'Aura Footer originale */
@media (max-width: 833px) {
  .aura-footer .footer-grid {
    display: block;
    margin: 0;
  }

  .aura-footer .footer-grid > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
  }

  /* La prima colonna (Brand) non è cliccabile come accordion */
  .aura-footer .footer-grid > div:first-child {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  /* Styling per le intestazioni H5 che diventano pulsanti accordion */
  .aura-footer .footer-grid > div h5 {
    padding: 16px 0;
    margin: 0;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
  }

  /* Chevron Icon */
  .aura-footer .footer-grid > div h5::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-right: 4px;
  }

  /* Chevron Open State */
  .aura-footer .footer-grid > div.is-open h5::after {
    transform: rotate(-135deg);
    margin-top: 4px;
    border-color: #ffffff;
  }

  /* Nascondere le liste di default su mobile */
  .aura-footer .footer-grid > div .footer-link-list {
    display: none;
    padding-top: 4px;
    padding-bottom: 20px;
    margin: 0;
  }

  /* Mostrare le liste quando aperto */
  .aura-footer .footer-grid > div.is-open .footer-link-list {
    display: block;
  }

  /* Ottimizzazione bottom bar su mobile */
  .aura-footer .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* --- ESTRATTO DA HTML --- */

/* ── OURA-STYLE FOOTER OVERLAP ARCHITECTURE (ZERO WHITE SPACE) ── */
.main-content-wrapper {
  position: relative;
  z-index: 2;
  background: #ffffff;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  overflow: clip;
}

footer.aura-footer,
footer.aura-footer * {
  box-sizing: border-box;
}

footer.aura-footer {
  position: relative;
  z-index: 1;
  margin-top: -80px;
  padding-top: 160px;
  padding-bottom: 80px;
  min-height: 650px;
  background: radial-gradient(
    circle at 15% 25%,
    #42403e 0%,
    #201e1c 100%
  );
  color: #f2f1ef;
  display: block;
  overflow: hidden;
  border-top: none;
}

footer.aura-footer h3,
footer.aura-footer h4 {
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
  margin: 16px 0;
}

footer.aura-footer h5 {
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: "Outfit", sans-serif;
}

footer.aura-footer p,
footer.aura-footer span,
footer.aura-footer div {
  color: #d1c9be;
}

footer.aura-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

footer.aura-footer .footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.aura-footer .footer-link-list li {
  margin-bottom: 8px;
  line-height: 1.4;
}

footer.aura-footer a {
  color: #d1c9be;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

footer.aura-footer a:hover,
footer.aura-footer .footer-bottom-bar a:hover {
  color: #7acff2;
  text-decoration: underline;
}

footer.aura-footer .footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8a8078;
  opacity: 1;
  margin-top: 40px;
  padding-top: 24px;
}

footer.aura-footer .footer-bottom-bar span,
footer.aura-footer .footer-bottom-bar a,
footer.aura-footer .footer-bottom-bar div {
  color: #8a8078;
}

footer.aura-footer .footer-bottom-bar .aura-cert-secured-bar,
footer.aura-footer .footer-bottom-bar .aura-cert-secured-bar div {
  color: #c8c2b8;
}

footer.aura-footer .footer-bottom-bar .aura-cert-secured-bar strong,
footer.aura-footer .footer-bottom-bar .aura-cert-secured-bar .cert-tag {
  color: #d4cdc2;
}

footer.aura-footer .footer-glow {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(218, 130, 27, 0.08) 0%,
    transparent 70%
  );
  /* filter: blur(60px); - Rimosso per prestazioni estreme */
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .main-content-wrapper {
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  footer.aura-footer {
    margin-top: -48px;
    padding-top: 128px;
    padding-bottom: 140px;
  }

  footer.aura-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  footer.aura-footer .footer-bottom-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ── MAJESTIC HUB PANEL — Standard 2027 Oura-Inspired Compact Zero-Scroll ── */
.majestic-hub-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--sandstone-200, #f7f1e8);
  /* backdrop-filter: blur(30px); - Rimosso per prestazioni estreme */
  /* -webkit-backdrop-filter: blur(30px); */
  z-index: 10000;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -12px 0 40px rgba(74, 71, 65, 0.12);
  box-sizing: border-box;
  color: var(--text-primary, #4a4741);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.majestic-hub-panel.is-open {
  right: 0;
}

.hub-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 27, 26, 0.85); /* Opacità aumentata per compensare il blur */
  /* backdrop-filter: blur(8px); - Rimosso per prestazioni estreme */
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hub-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hub-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 71, 65, 0.08);
  cursor: pointer;
  color: var(--text-primary, #4a4741);
  transition: all 0.2s;
  z-index: 2;
  padding: 0;
  opacity: 1;
  border: none;
  line-height: 1;
}

.hub-close:hover {
  background: rgba(74, 71, 65, 0.16);
  transform: scale(1.05);
}

.hub-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  justify-content: center;
  padding: 12px 0;
}

.hub-section h5 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.58rem;
  color: var(--brand-gold, #af751b);
  margin-bottom: 6px;
  font-weight: 700;
  font-family: var(--font-sans, "Outfit", sans-serif);
}

.hub-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 10px;
}

.hub-nav-link {
  text-decoration: none;
  color: var(--text-primary, #4a4741);
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(74, 71, 65, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.hub-nav-link:hover {
  background: #ffffff;
  border-color: rgba(74, 71, 65, 0.15);
  color: var(--brand-gold, #af751b);
  transform: translateY(-1px);
}

.hub-nav-link.highlight {
  font-weight: 600;
  color: var(--brand-gold, #af751b);
  background: rgba(175, 117, 27, 0.06);
  border-color: rgba(175, 117, 27, 0.15);
}

.hub-nav-link img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.8;
  margin: 0;
}

.hub-nav-link:hover img {
  opacity: 1;
}

.hub-nav-link span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.hub-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid rgba(74, 71, 65, 0.08);
}

.hub-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-sans, "Outfit", sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  border-radius: var(--radius-pill, 9999px);
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}

.hub-btn-visita {
  background: var(--brand-gold, #af751b);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(175, 117, 27, 0.25);
}

.hub-btn-visita:hover {
  background: #8e5e13;
  transform: translateY(-1px);
}

.hub-btn-entra {
  background: transparent;
  color: var(--text-primary, #4a4741);
  border: 1.5px solid var(--border-subtle, rgba(74, 71, 65, 0.15));
}

.hub-btn-entra:hover {
  background: rgba(74, 71, 65, 0.08);
  border-color: var(--text-primary, #4a4741);
}

@media (max-width: 768px) {
  .majestic-hub-panel {
    width: 100vw;
    max-width: 100vw;
    right: -100vw;
    height: 100dvh;
    max-height: 100dvh;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 16px
      calc(16px + env(safe-area-inset-bottom, 0px)) 16px;
    border-radius: 0;
  }

  .hub-nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 10px;
  }

  .hub-nav-link {
    font-size: 0.8rem;
    min-height: 48px;
    padding: 8px 14px;
    gap: 8px;
  }
}

/* ============================================================
   AURA HIG: HAPTIC FEEDBACK (Immediate Interaction)
   ============================================================ */
button:active,
.btn:active,
a.hub-btn:active,
.megamenu-link-item:active,
.hub-nav-link:active,
.btn-hub-trigger:active,
.hub-close:active,
.aura-evidence-card:active,
.card-pricing:active {
  transform: scale(0.97);
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Fix: niente bordi dentro la bento ai-card ===== */
/* Attenzione: border-style:solid su * senza border-width = bordi 3px currentColor (bianchi) */
.bento-card.ai-card {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.bento-card.ai-card * {
    border: 0 !important;
    outline: none !important;
}

/* ============================================================
   OPEN DESIGN / AGENDA CLINICA SHOWCASE & APPLE HORIZONTAL SCROLL
   ============================================================ */
.section-showcase {
  background-image: linear-gradient(180deg, rgba(30, 24, 20, 0.94) 0%, rgba(20, 15, 12, 0.92) 100%),
    url('https://dottori-online.com/wp-content/uploads/2026/07/Sanita-digitale-italia-rappresentazione-concettuale-di-una-connessione-circolare-in-luce-oro-e-petrolio-che-unisce-un-taccuino-clinico-e-un-dispositivo-audio-nero-ossidiana-su-un-tavolo-in-legno.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
}
.od-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.od-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(218, 130, 27, 0.1);
  border: 1px solid rgba(218, 130, 27, 0.3);
  border-radius: 99px;
  color: var(--sovereign-gold, #DA821B);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.od-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sovereign-gold, #DA821B);
  box-shadow: 0 0 8px var(--sovereign-gold, #DA821B);
}
.od-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.od-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.od-window-card {
  display: block;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  background: rgba(20, 16, 13, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.od-window-card:hover {
  border-color: rgba(218, 130, 27, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(218, 130, 27, 0.15);
}
.od-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.od-window-dots {
  display: flex;
  gap: 8px;
}
.od-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.od-window-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
}
.od-window-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #52c47a;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.od-window-content {
  padding: 32px 32px 28px;
}
.od-grid-mockup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  text-align: left;
}
.od-mockup-item {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}
.od-mockup-item:hover {
  background: rgba(218, 130, 27, 0.08) !important;
  border-color: rgba(218, 130, 27, 0.45) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
}
.od-item-time {
  font-size: 0.75rem;
  color: var(--sovereign-gold, #DA821B) !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}
.od-item-title,
.od-mockup-item .od-item-title,
.od-mockup-item.active .od-item-title {
  color: #FFFFFF !important;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.od-mockup-item:hover .od-item-title {
  color: #FFFFFF !important;
}
.od-mockup-item:hover .od-item-desc {
  color: rgba(255, 255, 255, 0.9) !important;
}
.od-item-desc,
.od-mockup-item .od-item-desc,
.od-mockup-item.active .od-item-desc {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.92rem;
  line-height: 1.6;
}
.od-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}
.od-footer-text {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.od-cta-button {
  background: #FFFFFF;
  color: #111111 !important;
  padding: 12px 28px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
}
.od-window-card:hover .od-cta-button {
  background: var(--sovereign-gold, #DA821B);
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(218, 130, 27, 0.4);
}

/* --- APPLE HORIZONTAL SCROLL SNAP (MOBILE & TABLET <= 833px) --- */
@media (max-width: 833px) {
  .section-showcase {
    padding: 60px 16px !important;
  }
  .od-title {
    font-size: clamp(1.75rem, 5.5vw, 2.3rem) !important;
    line-height: 1.15 !important;
  }
  .od-desc {
    font-size: 0.95rem !important;
    margin-bottom: 28px !important;
    padding: 0 8px !important;
  }
  .od-window-card {
    border-radius: 18px !important;
  }
  .od-window-header {
    padding: 12px 16px !important;
  }
  .od-window-content {
    padding: 16px 6px 20px 6px !important;
    overflow: hidden !important;
  }

  /* Carousel Snap Track Apple Style */
  .od-grid-mockup {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 14px !important;
    padding: 4px 14px 18px 14px !important;
    margin-bottom: 12px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .od-grid-mockup::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* Card Peek: 83% width so the user sees the edge of the next card */
  .od-mockup-item {
    flex: 0 0 83% !important;
    min-width: 260px !important;
    max-width: 320px !important;
    width: 83% !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    box-sizing: border-box !important;
    padding: 22px 18px !important;
    border-radius: 16px !important;
  }
  .od-item-title {
    font-size: 1.15rem !important;
  }
  .od-item-desc {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .od-progress-bar {
    max-width: 140px !important;
    margin: 4px auto 16px auto !important;
  }

  .od-card-footer {
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
    align-items: center !important;
    padding-top: 18px !important;
  }
  .od-footer-text {
    font-size: 1.1rem !important;
    justify-content: center !important;
  }
  .od-cta-button {
    width: 100% !important;
    max-width: 260px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 12px 24px !important;
  }
}

/* ── IL VIAGGIO DEL PROFESSIONISTA: APPLE HORIZONTAL SCROLL SNAP ── */
@media (max-width: 833px) {
  .journeys-section {
    padding: 48px 0 !important;
    overflow: hidden !important;
  }
  .journeys-section .content-limiter {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  .journey-box {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
  }
  .journey-label {
    padding: 0 20px !important;
    margin-bottom: 18px !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.08em !important;
  }
  .journey-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-padding-left: 20px !important;
    scroll-padding-right: 20px !important;
    gap: 14px !important;
    padding: 6px 20px 24px 20px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .journey-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .journey-card {
    flex: 0 0 78% !important;
    min-width: 250px !important;
    max-width: 315px !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    box-sizing: border-box !important;
    padding: 24px 20px !important;
    border-radius: 18px !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  }
  .j-num {
    color: var(--sovereign-gold, #DA821B) !important;
    opacity: 0.9 !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
  }
  .j-title {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
  }
  .j-desc {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
}

/* Process Flow a 5 passi (Come Funziona) */
.aura-process-flow, .aura-stepper { max-width: 760px; margin: 0 auto; position: relative; }
.aura-process-flow::before, .aura-stepper::before { content: ''; position: absolute; top: 0; bottom: 0; left: 24px; width: 2px; background: rgba(48,42,42,0.1); z-index: 1; }
@media (max-width: 768px) { .aura-process-flow::before, .aura-stepper::before { left: 16px; } }
.aura-process-step, .aura-step { position: relative; z-index: 2; padding-left: 60px; margin-bottom: 24px; }
@media (max-width: 768px) { .aura-process-step, .aura-step { padding-left: 48px; } }
.aura-process-step:last-child, .aura-step:last-child { margin-bottom: 0; }
.aura-step-marker { position: absolute; left: 12px; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #FAF9F6; border: 2px solid #DA821B; display: flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; color: #DA821B; box-shadow: 0 0 0 8px #FAF9F6; }
@media (max-width: 768px) { .aura-step-marker { left: 4px; } }
.aura-step-content { background: #FFFFFF; border: 1px solid rgba(48,42,42,0.1); border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(48,42,42,0.04); transition: transform 0.2s, box-shadow 0.2s; }
.aura-step-content:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(48,42,42,0.08); }
.aura-process-step-content--dark { background: linear-gradient(135deg, #302A2A, #221810) !important; border-color: rgba(218,130,27,0.3) !important; }
.aura-process-step-content--dark .aura-step-title { color: #F5EDE0 !important; }
.aura-process-step-content--dark .aura-step-desc { color: rgba(245,237,224,0.88) !important; }
.aura-step-title { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 700; color: var(--text-primary, #111111); margin-bottom: 8px; }
.aura-step-desc { font-family: 'Inter', sans-serif; font-size: 14.5px; line-height: 1.6; color: #2A2A1E; margin: 0; }
@keyframes fadeSlideUp { to { opacity: 1; transform: translateY(0); } }

/* Griglia a 3 colonne (Pilastri Sincronia) */
.aura-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .aura-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .aura-grid-3 { grid-template-columns: 1fr; } }
.aura-grid-card { background: #FFFFFF; border: 1px solid rgba(48,42,42,0.1); border-radius: 16px; padding: 32px 24px; box-shadow: 0 8px 24px rgba(48,42,42,0.04); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.aura-grid-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(48,42,42,0.08); }
.aura-grid-card.dark { background: linear-gradient(135deg, #302A2A, #221810); border-color: rgba(218,130,27,0.3); }
.aura-grid-icon { width: 48px; height: 48px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(218,130,27,0.15); }
.aura-grid-title { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-primary, #111111); margin-bottom: 12px; margin-top: 0; line-height: 1.2; }
.aura-grid-desc { font-family: 'Inter', sans-serif; font-size: 14.5px; line-height: 1.6; color: #2A2A1E; margin: 0; }

/* Hero Scrim Calibrato: Più luminoso per valorizzare l'immagine */
.aura-lp-hero::before {
  background-image: linear-gradient(to right, rgba(22, 24, 23, 0.55) 0%, rgba(22, 24, 23, 0.15) 50%, transparent 80%),
                    linear-gradient(to top, rgba(22, 24, 23, 0.45) 0%, transparent 40%) !important;
}

/* Hero Mobile Topbar Clearance & OSF Link Contrast */
@media (max-width: 768px) {
  .aura-lp-hero {
    padding-top: calc(72px + 2.5rem) !important;
  }
  .aura-lp-hero::before {
    background-image: linear-gradient(
      180deg,
      rgba(22, 24, 23, 0.5) 0%,
      rgba(22, 24, 23, 0.72) 40%,
      rgba(22, 24, 23, 0.92) 100%
    ) !important;
  }
  .aura-lp-hero-title,
  .aura-lp-hero-lead {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  }
}
.aura-lp-hero-copy a[href*="osf.io"] {
  color: #DA821B !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}
.aura-lp-hero-copy a[href*="osf.io"]:hover {
  color: #F5EDE0 !important;
}

/* ==========================================================================
   FAQ ACCORDION GOLD STANDARD (Conforme a faq-page.html)
   ========================================================================== */
.faq-header .eyebrow,
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sovereign-gold, #DA821B);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.faq-header .eyebrow::before,
.faq-header .eyebrow::after,
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--sovereign-gold, #DA821B);
  opacity: 0.4;
}
.faq-title {
  font-family: var(--font-title, 'Newsreader', serif);
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: var(--text-primary, #111111);
  line-height: 1.2;
  margin: 0 0 16px 0;
}
.faq-intro {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.05rem;
  color: var(--text-muted, rgba(0, 0, 0, 0.6));
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  transition: border-color 0.3s ease !important;
  overflow: hidden;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.faq-item:hover,
.faq-item.active-item,
.faq-item.faq-open,
.faq-item.open {
  border-bottom-color: var(--sovereign-gold, #DA821B) !important;
}
.faq-question {
  width: 100% !important;
  padding: 24px 0 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: left !important;
  transition: color 0.25s ease !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
.faq-question:hover .faq-q-text {
  color: var(--sovereign-gold, #DA821B) !important;
}
.faq-q-text {
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: var(--text-primary, #111111) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.4 !important;
  transition: color 0.25s ease !important;
}
.faq-question[aria-expanded="true"] .faq-q-text,
.faq-item.active-item .faq-q-text,
.faq-item.faq-open .faq-q-text,
.faq-item.open .faq-q-text {
  color: var(--sovereign-gold, #DA821B) !important;
}
.faq-icon {
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--sovereign-gold, #DA821B) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease !important;
  flex-shrink: 0 !important;
  margin-left: 16px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.faq-question[aria-expanded="true"] .faq-icon,
.faq-item.active-item .faq-icon,
.faq-item.faq-open .faq-icon,
.faq-item.open .faq-icon {
  transform: rotate(180deg) !important;
  color: var(--text-primary, #111111) !important;
}
.faq-answer {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.faq-answer.is-open,
.faq-item.active-item .faq-answer,
.faq-item.faq-open .faq-answer,
.faq-item.open .faq-answer,
.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 1200px !important;
}
.faq-answer-inner {
  padding: 0 0 24px 0 !important;
  font-size: 1.02rem !important;
  color: var(--text-muted, rgba(0, 0, 0, 0.6)) !important;
  line-height: 1.75 !important;
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  text-align: left !important;
}
.faq-answer-inner p {
  margin-bottom: 16px !important;
}
.faq-answer-inner p:last-child {
  margin-bottom: 0 !important;
}
