/**
 * MioPalco — Platform Shell, Landing, Registration, Admin, Modals & Shared Components
 */

/* Disattiva le ligature automatiche (fix "fi" senza puntino su Modifica / file) */
html,
body,
button,
input,
select,
textarea,
a,
span,
p,
h1,
h2,
h3,
h4,
label {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
}

#mp-boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(circle at 50% 42%, #162544 0%, #0B1528 70%);
  color: #FFFFFF;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
#mp-boot-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.mp-boot-clef-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mpClefFloat 2.4s ease-in-out infinite;
}
.mp-boot-ring-draw {
  stroke-dasharray: 158;
  stroke-dashoffset: 158;
  animation: mpRingDraw 1.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.mp-boot-clef-stroke {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: mpClefDraw 1.15s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
.mp-boot-clef-fill {
  opacity: 0;
  animation: mpClefFill 0.75s ease 0.45s forwards;
}
.mp-boot-label {
  font-family: var(--mp-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mp-accent-light, #FDE68A);
  opacity: 0;
  transform: translateY(6px);
  animation: mpLabelRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
@keyframes mpRingDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes mpClefDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes mpClefFill {
  to { opacity: 1; }
}
@keyframes mpClefFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
}
@keyframes mpLabelRise {
  to { opacity: 1; transform: translateY(0); }
}

.mp-ico {
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

/* Brand Logo Wrap + Long Press Hold Ring */
.mp-brand-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
}
.mp-brand-custom-img {
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.28);
}
.mp-hold-ring-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.is-holding .mp-brand-logo-wrap,
.mp-brand-logo-wrap.is-holding {
  transform: scale(0.95);
  transition: transform 0.15s ease;
}
.is-complete .mp-brand-logo-wrap,
.mp-brand-logo-wrap.is-complete {
  transform: scale(1.06);
  transition: transform 0.15s ease;
}

/* Buttons */
.mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--mp-radius-sm, 10px);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  max-width: 100%;
}
.mp-btn:active:not(:disabled) {
  transform: scale(0.98);
}
.mp-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.mp-btn-sm { min-height: 36px; padding: 7px 12px; font-size: 13px; }
.mp-btn-xs { min-height: 32px; padding: 5px 10px; font-size: 12px; }
.mp-btn-lg { padding: 13px 24px; font-size: 15px; }
.mp-btn-block {
  width: 100%;
  white-space: normal;
  height: auto;
  line-height: 1.3;
  text-align: center;
}
@media (max-width: 600px) {
  .mp-btn {
    white-space: normal;
    height: auto;
    line-height: 1.3;
    text-align: center;
  }
  .mp-importer-packs .mp-btn {
    padding: 7px 11px;
    font-size: 12.5px;
  }
}

.mp-btn-accent {
  background: var(--mp-accent, #D4AF37);
  color: var(--mp-on-accent, #0B1528);
  border-color: var(--mp-accent, #D4AF37);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.mp-btn-accent:hover:not(:disabled) {
  filter: brightness(1.06);
}
.mp-btn-primary {
  background: var(--mp-primary, #0B1528);
  color: var(--mp-on-primary, #FFFFFF);
  border-color: var(--mp-primary, #0B1528);
}
.mp-btn-primary:hover:not(:disabled) {
  background: var(--mp-primary-2, #162544);
}
.mp-btn-outline {
  background: transparent;
  color: currentColor;
  border-color: rgba(148, 163, 184, 0.45);
}
.mp-btn-outline:hover:not(:disabled) {
  background: rgba(148, 163, 184, 0.12);
}
.mp-btn-ghost {
  background: rgba(148, 163, 184, 0.14);
  color: inherit;
  border-color: transparent;
}
.mp-btn-ghost:hover:not(:disabled) {
  background: rgba(148, 163, 184, 0.24);
}
.mp-btn-danger {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
}
.mp-btn-danger:hover:not(:disabled) {
  background: #B91C1C;
}
.mp-btn-success {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}
.mp-btn-success:hover:not(:disabled) {
  background: #047857;
}
.mp-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}
.mp-icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Forms */
.mp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.mp-field label {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
}
.mp-field .mp-hint {
  font-size: 12px;
  color: #64748B;
}
.mp-input,
.mp-select,
.mp-textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background-color: #FFFFFF;
  color: #0B1528;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* INTERVENTO 6 — Fix Globale <select> & Input Numerici senza freccette spinner */
select,
.mp-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 14px;
  padding-right: 42px !important;
}
.mp-lead-card select,
.mp-lead-card .mp-select,
.mp-regia-page.is-dark select,
.mp-regia-page.is-dark .mp-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23CBD5E1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 14px;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.mp-input:focus,
.mp-select:focus,
.mp-textarea:focus {
  outline: none;
  border-color: var(--mp-accent, #D4AF37);
  box-shadow: 0 0 0 3px var(--mp-accent-soft, rgba(212, 175, 55, 0.2));
}
.mp-textarea {
  min-height: 86px;
  resize: vertical;
}
.mp-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 600px) {
  .mp-form-row {
    grid-template-columns: 1fr;
  }
}

.mp-input.mp-field-error,
.mp-select.mp-field-error,
.mp-textarea.mp-field-error,
.mp-slug-input-wrap.mp-field-error,
.mp-gdpr-row.mp-field-error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18) !important;
}
.mp-gdpr-row.mp-field-error {
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(254, 242, 242, 0.85);
}
.mp-field-error-msg {
  color: #DC2626;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 5px;
}

/* Global Checkbox & GDPR Rows (18x18px identiche Desktop & Mobile) */
input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 2px 0 0 0;
  accent-color: #0F172A;
  cursor: pointer;
}
.mp-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  user-select: none;
}
.mp-checkbox-row input[type='checkbox'] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: #0F172A;
  border-radius: 4px;
  cursor: pointer;
}
.mp-gdpr-box {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mp-gdpr-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}
.mp-gdpr-row input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 2px 0 0 0;
  accent-color: #0F172A;
  cursor: pointer;
}
.mp-gdpr-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: #1E293B;
}
.mp-gdpr-text.is-muted {
  font-size: 12.5px;
  color: #475569;
}
.mp-gdpr-text a {
  color: #0B1528;
  font-weight: 700;
  text-decoration: underline;
}

/* Switch toggle */
.mp-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(148, 163, 184, 0.05);
  margin-bottom: 8px;
}
.mp-switch-info strong {
  display: block;
  font-size: 14px;
  color: #0B1528;
}
.mp-switch-info span {
  display: block;
  font-size: 12px;
  color: #64748B;
}
.mp-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #CBD5E1;
  border: none;
  padding: 3px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.mp-switch[aria-checked='true'] {
  background: #D97706;
}
.mp-switch::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}
.mp-switch[aria-checked='true']::after {
  transform: translateX(20px);
}

/* 3-Tab Console Settings Modal */
.mp-console-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  margin-bottom: 18px;
}
.mp-console-tab {
  padding: 9px 10px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.mp-console-tab.is-active {
  background: #FFFFFF;
  color: #0B1528;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.mp-settings-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #B45309;
}
.mp-settings-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}
.mp-contact-channel-card {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 11px 12px;
  background: #FFFFFF;
  margin-bottom: 10px;
}
.mp-contact-channel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mp-contact-channel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0B1528;
}
.mp-contact-channel-input {
  margin-top: 9px;
}
.mp-unlock-guide-card {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: 14px;
  padding: 14px 16px;
  color: #0B1528;
  margin-bottom: 14px;
}
.mp-unlock-guide-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #92400E;
}
.mp-unlock-guide-card ol {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
}
.mp-unlock-guide-card li + li {
  margin-top: 6px;
}

/* Toasts */
.mp-toast-container {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 9500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(92vw, 440px);
  pointer-events: none;
}
.mp-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  overflow: visible;
  pointer-events: auto;
  animation: mpToastIn 0.2s ease;
}
.mp-toast-msg {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: break-word;
  padding: 1px 0;
}
.mp-toast-success { border-left: 4px solid #10B981; }
.mp-toast-error { border-left: 4px solid #EF4444; }
.mp-toast-warning { border-left: 4px solid #F59E0B; }
.mp-toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.mp-toast-action {
  background: rgba(255, 255, 255, 0.16);
  color: #FDE68A;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
@keyframes mpToastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modals */
body.mp-modal-open {
  overflow: hidden;
}
input[type='file'][hidden] {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
}

.mp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(2, 6, 23, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}
.mp-modal-dialog {
  width: 100%;
  max-width: 600px;
  max-height: calc(100dvh - 28px);
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  color: #0B1528;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}
.mp-modal-dialog-sm { max-width: 430px; }
.mp-modal-dialog-lg { max-width: 820px; }
.mp-modal-dialog-xl { max-width: 1180px; height: min(92dvh, 840px); }
.mp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
  border-radius: 18px 18px 0 0;
  flex-shrink: 0;
}
.mp-modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0B1528;
}
.mp-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mp-modal-body {
  display: block;
  padding: 18px 20px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scroll-behavior: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 0 0 18px 18px;
}
@media (max-width: 900px) {
  .mp-modal-overlay {
    padding: 8px;
  }
  .mp-modal-dialog {
    max-height: calc(100dvh - 16px);
  }
  .mp-modal-dialog-xl {
    height: min(94dvh, 840px);
  }
  .mp-modal-header {
    padding: 12px 14px;
  }
  .mp-modal-header h2 {
    font-size: 16px;
  }
  .mp-modal-body {
    padding: 14px;
  }
}
.mp-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  border-radius: 0 0 18px 18px;
  flex-shrink: 0;
}
.mp-confirm-text {
  margin: 0;
  font-size: 15px;
  color: #334155;
}

/* Status Screens */
.mp-status-screen {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at top, #162544 0%, #0B1528 70%);
  color: #FFFFFF;
}
.mp-status-card {
  width: 100%;
  max-width: 440px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 36px 28px;
}
.mp-status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: rgba(212, 175, 55, 0.16);
  color: #FDE68A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mp-status-card h1 {
  margin: 0 0 10px;
  font-family: var(--mp-font-heading);
  font-size: 24px;
}
.mp-status-card p {
  margin: 0 0 22px;
  color: #CBD5E1;
  font-size: 15px;
}

/* Badges */
.mp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: visible;
}
.mp-badge-vip { background: #FEF3C7; color: #92400E; border: 1px solid #F59E0B; }
.mp-badge-active { background: #D1FAE5; color: #065F46; }
.mp-badge-trial { background: #DBEAFE; color: #1E40AF; }
.mp-badge-warn { background: #FFEDD5; color: #9A3412; }
.mp-badge-danger { background: #FEE2E2; color: #991B1B; }
.mp-badge-live { background: #DC2626; color: #FFFFFF; }
.mp-badge-muted { background: #E2E8F0; color: #475569; }

/* =========================================================
   MINI PREVIEW (Theme Engine 6x6)
   ========================================================= */
.mp-mini-preview {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.24);
  background: var(--mp-guest-bg, #F8FAFC);
  font-family: var(--mp-font-body);
  color: var(--mp-guest-text, #0B1528);
}
.mp-mini-preview-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--mp-primary), var(--mp-primary-2));
  color: var(--mp-on-primary);
}
.mp-mini-preview-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mp-mini-preview-text {
  min-width: 0;
  max-width: 100%;
  text-align: left;
  overflow: hidden;
}
.mp-mini-preview-title {
  margin: 0;
  font-family: var(--mp-font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: var(--mp-heading-transform);
  letter-spacing: var(--mp-heading-tracking);
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-mini-preview-sub {
  margin: 2px 0 0;
  font-size: 11px;
  opacity: 0.85;
  overflow-wrap: anywhere;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-mini-preview-live {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: #10B981;
  color: #FFFFFF;
  flex-shrink: 0;
  white-space: nowrap;
}
.mp-mini-preview-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mp-mini-preview-search {
  padding: 8px 12px;
  border-radius: var(--mp-radius-sm);
  border: 1px solid var(--mp-guest-border);
  background: #FFFFFF;
  font-size: 12px;
  color: #94A3B8;
  text-align: left;
}
.mp-mini-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--mp-radius-md);
  background: var(--mp-guest-surface);
  border: 1px solid var(--mp-guest-border);
  box-shadow: var(--mp-card-shadow);
  text-align: left;
}
.mp-mini-preview-song strong {
  display: block;
  font-size: 13px;
}
.mp-mini-preview-song span {
  display: block;
  font-size: 11px;
  color: var(--mp-guest-muted);
}
.mp-mini-preview-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--mp-accent-soft);
  color: var(--mp-primary);
  border: 1px solid var(--mp-accent-border);
  white-space: nowrap;
}
.mp-mini-preview-cta {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--mp-radius-sm);
  background: var(--mp-accent);
  color: var(--mp-on-accent);
  white-space: nowrap;
}

/* =========================================================
   THEME PICKER 6x6 & REPERTOIRE IMPORTER WIDGETS
   ========================================================= */
.mp-picker-section {
  margin-bottom: 16px;
}
.mp-picker-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  margin: 0 0 8px;
}
.mp-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 560px) {
  .mp-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mp-style-card {
  text-align: left;
  padding: 10px 11px;
  border-radius: 12px;
  border: 2px solid #E2E8F0;
  background: #FFFFFF;
  color: #0B1528;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mp-style-card.is-selected {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
}
.mp-style-card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.mp-style-card span {
  display: block;
  font-size: 11px;
  color: #64748B;
  line-height: 1.3;
}
.mp-color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 560px) {
  .mp-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mp-color-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 11px;
  border: 2px solid #E2E8F0;
  background: #FFFFFF;
  color: #0B1528;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.mp-color-pill.is-selected {
  border-color: #0B1528;
  box-shadow: 0 0 0 2px rgba(11, 21, 40, 0.14);
}
.mp-color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}
.mp-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 560px) {
  .mp-icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mp-icon-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 4px;
  border-radius: 12px;
  border: 2px solid #E2E8F0;
  background: #0B1528;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.15s ease;
}
.mp-icon-option.is-selected {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.32);
}

/* Importer Widget */
.mp-importer-box {
  border: 1px solid #CBD5E1;
  border-radius: 14px;
  padding: 16px;
  background: #F8FAFC;
  color: #0B1528;
}
.mp-importer-guide {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: #1E3A8A;
  margin-bottom: 12px;
}
.mp-importer-guide ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
.mp-importer-packs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.mp-importer-preview {
  margin-top: 12px;
  border: 2px solid #D4AF37;
  border-radius: 12px;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(11, 21, 40, 0.1);
}
.mp-importer-preview table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mp-importer-preview th,
.mp-importer-preview td {
  padding: 7px 10px;
  border-bottom: 1px solid #E2E8F0;
  text-align: left;
}
.mp-importer-preview th {
  background: #F1F5F9;
  font-size: 12px;
  color: #475569;
}

/* =========================================================
   LANDING PAGE (/) — PREMIUM SAAS & ANIMATIONS
   ========================================================= */
.mp-landing {
  min-height: 100dvh;
  background: #070E1C;
  color: #F8FAFC;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.mp-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.mp-nav {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(11, 18, 33, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 196, 81, 0.14);
}
.mp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
  min-width: 0;
}
.mp-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: #FFFFFF;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  font-weight: 800;
  cursor: pointer;
}
.mp-brand-text-col {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.mp-brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-beta-badge-mobile {
  display: none;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F5C451;
  margin-top: 2px;
}
.mp-beta-badge-desktop {
  display: inline-flex;
  align-items: center;
}
.mp-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.mp-nav-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.mp-nav-links a:hover { color: #FDE68A; }
.mp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.mp-nav-login-btn {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
  min-height: 38px;
  padding: 8px 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .mp-nav-links { display: none; }
}
@media (max-width: 640px) {
  .mp-nav-inner {
    height: 60px;
    padding: 0 14px;
    gap: 8px;
  }
  .mp-brand-mark {
    font-size: 19px;
    gap: 8px;
  }
  .mp-beta-badge-desktop {
    display: none;
  }
  .mp-beta-badge-mobile {
    display: block;
  }
  .mp-nav-signup-desktop {
    display: none;
  }
  .mp-nav-login-btn {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 13.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .mp-nav-admin-btn {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 12.5px;
  }
}

/* Barra Quick-Jump Mobile Sticky (solo <= 767px) */
.mp-quickjump-bar {
  display: none;
}
.mp-carousel-footer {
  display: none;
}
.mp-mobile-bottom-bar {
  display: none;
}

.mp-hero {
  padding: 54px 0 64px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.20), transparent 65%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.09), transparent 45%);
}
.mp-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 38px;
  align-items: center;
}
.mp-hero-grid > * {
  min-width: 0;
}
@media (max-width: 920px) {
  .mp-hero-grid { grid-template-columns: 1fr; gap: 24px; }
}
.mp-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.42);
  color: #FDE68A;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
  max-width: 100%;
}
.mp-eyebrow-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mp-hero h1 {
  margin: 0 0 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.12;
  color: #FFFFFF;
}
.mp-hero h1 span,
.mp-hero h1 .hero-accent-line {
  display: inline-block;
  white-space: nowrap;
  color: #F5C451;
}
.mp-hero-lead {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.6;
  color: #CBD5E1;
  max-width: 540px;
}
.mp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.mp-hero-ctas .mp-btn-outline {
  border-color: rgba(255, 255, 255, 0.38);
  color: #FFFFFF;
}
.mp-hero-ctas .mp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

/* 3 Demo Pills perfettamente allineate su una riga */
.mp-hero-demo-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mp-hero-demo-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
}
.mp-hero-demo-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.mp-hero-demo-links a,
.mp-hero-demo-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FDE68A;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.mp-hero-demo-links a:hover,
.mp-hero-demo-links button:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.55);
  transform: translateY(-1px);
}

/* Hero Showcase centrato e bilanciato */
.mp-hero-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 22px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.mp-showcase-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 400px;
}
.mp-showcase-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.mp-showcase-pill:hover {
  border-color: rgba(212, 175, 55, 0.55);
}
.mp-showcase-pill.is-active {
  background: #D4AF37;
  color: #0B1528;
  border-color: #D4AF37;
}
.mp-showcase-stage {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mp-showcase-caption {
  margin: 14px auto 0;
  max-width: 360px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #94A3B8;
  text-align: center;
}

/* =========================================================
   MOBILE LANDING PREMIUM (<= 767px) — QUICK-JUMP, CAROSELLI, BOTTOM BAR
   ========================================================= */
@media (max-width: 767px) {
  .mp-container {
    padding: 0 16px;
  }
  .mp-landing #anteprima,
  .mp-landing #temi-36,
  .mp-landing #come-funziona,
  .mp-landing #in-azione,
  .mp-landing #vantaggi,
  .mp-landing #prezzi,
  .mp-landing #contatti,
  .mp-landing #faq {
    scroll-margin-top: 112px;
  }
  .mp-quickjump-bar {
    display: block;
    position: sticky;
    top: 60px;
    z-index: 110;
    height: 42px;
    background: rgba(11, 18, 33, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .mp-quickjump-track {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 0 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mp-quickjump-track::-webkit-scrollbar {
    display: none;
  }
  .mp-qj-pill {
    flex: 0 0 auto;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #CBD5E1;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  }
  .mp-qj-pill.is-active {
    background: #F5C451;
    border-color: #F5C451;
    color: #0B1528;
  }
  .mp-hero {
    padding: 22px 0 32px;
  }
  .mp-hero-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .mp-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    margin: 0 auto 16px;
    max-width: 100%;
    font-size: 12.5px;
    line-height: 1.25;
    flex-wrap: nowrap;
    text-align: center;
  }
  .mp-hero h1 {
    font-size: clamp(1.85rem, 7.4vw, 2.5rem);
    line-height: 1.14;
    text-align: center;
    margin: 0 auto 14px;
  }
  .mp-hero-lead {
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    margin: 0 auto 18px;
  }
  .mp-hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
  }
  .mp-hero-ctas .mp-btn {
    width: 100%;
    justify-content: center;
  }
  .mp-hero-demo-wrap {
    gap: 8px;
    width: 100%;
    align-items: center;
  }
  .mp-hero-demo-label {
    text-align: center;
  }
  .mp-hero-demo-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .mp-hero-demo-links button {
    width: 100%;
    height: 40px;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mp-hero-showcase {
    padding: 16px 12px;
    border-radius: 20px;
  }
  .mp-showcase-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 100%;
  }
  .mp-showcase-pill {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    font-size: 12px;
  }
  .mp-mini-preview {
    max-width: 100%;
  }
  .mp-section {
    padding: 32px 0;
  }
  .mp-section-head {
    margin-bottom: 20px;
  }
  .mp-section-head h2 {
    font-size: 26px;
  }
  .mp-section-head p {
    font-size: 15px;
    line-height: 1.5;
  }
  /* Caroselli Swipe Mobile — Centratura simmetrica card + peeking laterale bilanciato */
  .mp-mobile-carousel {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 8%;
    gap: 12px;
    padding: 6px 8% 14px;
    margin-inline: -16px;
    width: calc(100% + 32px);
    max-width: calc(100% + 32px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    box-sizing: border-box;
  }
  .mp-mobile-carousel::-webkit-scrollbar {
    display: none;
  }
  .mp-mobile-carousel > *,
  .mp-mobile-carousel > [data-reveal] {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    margin: 0;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0s !important;
    visibility: visible !important;
  }
  .mp-mobile-carousel .mp-dark-card {
    padding: 20px 18px;
  }
  .mp-mobile-carousel .mp-dark-card p {
    font-size: 15px;
    line-height: 1.5;
  }
  @media (max-width: 349px) {
    .mp-eyebrow {
      flex-wrap: wrap;
      font-size: 11.5px;
      padding: 6px 12px;
    }
  }
  .mp-carousel-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
  }
  .mp-carousel-dots {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }
  .mp-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    transition: width 0.2s ease, background 0.2s ease;
  }
  .mp-carousel-dot.is-active {
    width: 22px;
    background: #F5C451;
  }
  .mp-carousel-hint {
    font-size: 11.5px;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 0.03em;
    transition: opacity 0.25s ease;
  }
  .mp-carousel-hint.is-dismissed {
    opacity: 0;
    pointer-events: none;
  }
  .mp-tour-shell {
    padding: 14px;
    border-radius: 18px;
  }
  .mp-tour-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
  }
  .mp-tour-tab {
    padding: 10px 8px;
    text-align: center;
  }
  .mp-tour-tab strong {
    font-size: 12px;
    justify-content: center;
    margin-bottom: 0;
  }
  .mp-tour-tab span {
    display: none;
  }
  .mp-tour-stage {
    padding: 16px 14px;
    gap: 16px;
  }
  .mp-beta-launch-card {
    padding: 24px 18px;
  }
  .mp-lead-card {
    padding: 20px 16px;
  }
  .mp-faq-item {
    padding: 14px 15px;
  }
  .mp-faq-item summary {
    font-size: 15px;
    line-height: 1.4;
  }
  .mp-faq-item p {
    font-size: 15px;
    line-height: 1.5;
  }
  .mp-landing-footer {
    padding: 26px 0 80px;
  }
  /* Micro-Barra Azioni Smart fissa in basso */
  .mp-mobile-bottom-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 115;
    min-height: 58px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(11, 18, 33, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(245, 196, 81, 0.22);
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
  }
  .mp-mobile-bottom-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mp-mbb-cta {
    flex: 1;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 14px;
  }
  .mp-mbb-video {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 13px;
    gap: 6px;
    flex-shrink: 0;
  }
  .mp-mbb-video .mp-play-gold-ico {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }
  .mp-mbb-top {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(245, 196, 81, 0.45);
    background: rgba(255, 255, 255, 0.08);
    color: #FDE68A;
    font-size: 18px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
}

.mp-section {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: clip;
}
.mp-section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 40px;
}
.mp-section-head h2 {
  margin: 0 0 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3.6vw, 38px);
  color: #FFFFFF;
}
.mp-section-head p {
  margin: 0;
  font-size: 16px;
  color: #94A3B8;
}
.mp-steps-grid,
.mp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 820px) {
  .mp-steps-grid,
  .mp-features-grid { grid-template-columns: 1fr; }
}
.mp-dark-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.mp-dark-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.38);
  background: rgba(255, 255, 255, 0.06);
}
.mp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(212, 175, 55, 0.18);
  color: #FDE68A;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}
.mp-dark-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 9px;
}
.mp-dark-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #CBD5E1;
}

/* Interactive Tour & Video Demo Section */
.mp-tour-shell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 24px;
}
.mp-tour-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
@media (max-width: 720px) {
  .mp-tour-tabs { grid-template-columns: 1fr; }
}
.mp-tour-tab {
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #CBD5E1;
  transition: all 0.18s ease;
}
.mp-tour-tab.is-active {
  background: rgba(212, 175, 55, 0.14);
  border-color: #D4AF37;
  color: #FFFFFF;
}
.mp-tour-tab strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 4px;
}
.mp-tour-tab span {
  display: block;
  font-size: 12.5px;
  opacity: 0.82;
}
.mp-tour-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: #0B1528;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px;
}
@media (max-width: 820px) {
  .mp-tour-stage { grid-template-columns: 1fr; }
}
.mp-tour-mockup {
  background: #FFFFFF;
  color: #0B1528;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  animation: mpFadeSlide 0.25s ease;
}
@keyframes mpFadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pricing — Pulsanti uniformi sulle 3 card standard, Oro su Annuale Pro */
.mp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 980px) {
  .mp-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mp-pricing-grid { grid-template-columns: 1fr; }
}
.mp-price-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.mp-price-card:hover {
  transform: translateY(-3px);
}
.mp-price-card.is-featured {
  border-color: #D4AF37;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.14), rgba(255, 255, 255, 0.04));
}
.mp-price-card .mp-btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
}
.mp-price-card .mp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}
.mp-price-tag {
  position: absolute;
  top: -11px;
  right: 16px;
  background: #D4AF37;
  color: #0B1528;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}
.mp-price-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.mp-price-val {
  font-size: 32px;
  font-weight: 800;
  color: #FDE68A;
  margin: 6px 0 4px;
}
.mp-price-val span {
  font-size: 14px;
  font-weight: 500;
  color: #94A3B8;
}
.mp-price-note {
  font-size: 12.5px;
  font-weight: 600;
  color: #94A3B8;
  min-height: 18px;
  margin: 2px 0 0;
}
.mp-price-card.is-featured .mp-price-note {
  color: #FDE68A;
}

/* Badge Beta Gratuita + Modale Recensioni Post-Serata */
.mp-beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #D4AF37, #F59E0B);
  color: #0B1528;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}
.mp-beta-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(16, 185, 129, 0.14));
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.mp-beta-banner strong {
  color: #FDE68A;
  font-size: 16px;
  display: block;
}
.mp-beta-banner span {
  color: #E2E8F0;
  font-size: 13.5px;
}
.mp-review-hero {
  background: linear-gradient(145deg, #0B1528, #162544);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.mp-review-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 6px;
}
.mp-star-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid rgba(212, 175, 55, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.mp-star-btn:hover,
.mp-star-btn.is-active {
  background: rgba(212, 175, 55, 0.22);
  border-color: #D4AF37;
  color: #FDE68A;
  transform: translateY(-2px);
}
.mp-price-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #CBD5E1;
  flex: 1;
}

/* Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Lead Form & FAQ */
.mp-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 820px) {
  .mp-lead-grid { grid-template-columns: 1fr; }
}
.mp-lead-card {
  background: linear-gradient(180deg, rgba(22, 37, 68, 0.92), rgba(11, 21, 40, 0.96));
  color: #F8FAFC;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}
.mp-lead-card .mp-field label {
  color: #E2E8F0;
}
.mp-lead-card .mp-input,
.mp-lead-card .mp-select,
.mp-lead-card .mp-textarea {
  background-color: rgba(7, 14, 28, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #FFFFFF;
}
.mp-lead-card .mp-input::placeholder,
.mp-lead-card .mp-textarea::placeholder {
  color: #94A3B8;
}
.mp-lead-card .mp-select option {
  background: #0B1528;
  color: #FFFFFF;
}
.mp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 15px 18px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.mp-faq-item[open] {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.06);
}
.mp-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #FFFFFF;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mp-faq-item summary::-webkit-details-marker {
  display: none;
}
.mp-faq-chevron {
  color: #FDE68A;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.mp-faq-item[open] .mp-faq-chevron {
  transform: rotate(180deg);
}
.mp-faq-item p {
  margin: 10px 0 0;
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.6;
}
.mp-landing-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  font-size: 13px;
}
.mp-landing-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mp-landing-footer a {
  color: #CBD5E1;
  text-decoration: none;
}

/* =========================================================
   REGISTRATION SELF-SERVICE (/registrazione)
   ========================================================= */
.mp-register-page {
  min-height: 100dvh;
  background: radial-gradient(circle at top, #14224A 0%, #070E1C 60%);
  color: #F8FAFC;
  padding: 24px 16px 48px;
}
.mp-register-shell {
  max-width: 1040px;
  margin: 0 auto;
}
.mp-register-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.mp-auth-segmented-wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 16px;
}
.mp-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(11, 18, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mp-auth-tab {
  height: 44px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #0F172A;
  color: #CBD5E1;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.mp-auth-tab.is-active {
  background: #F5C451;
  color: #0B1528;
  border-color: #F5C451;
}
.mp-auth-login-shell {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 0;
}
.mp-auth-compact-card {
  width: 100%;
  padding: 24px 20px;
}
.mp-auth-card-title {
  margin: 0 0 4px;
  font-family: var(--mp-font-heading);
  font-size: 24px;
  color: #0B1528;
}
.mp-auth-card-sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: #475569;
}
.mp-auth-pass-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.mp-auth-forgot-link {
  background: none;
  border: none;
  padding: 4px 2px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #0B1528;
  text-decoration: underline;
  cursor: pointer;
}
.mp-auth-submit-btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}
.mp-auth-slug-alt {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}
.mp-register-page .mp-input,
.mp-register-page .mp-select,
.mp-touch-input {
  min-height: 46px;
  font-size: 16px;
}
.mp-register-page #regSubmitBtn {
  width: 100%;
  min-height: 48px;
}
.mp-register-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 860px) {
  .mp-register-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}
.mp-register-card {
  background: #FFFFFF;
  color: #0B1528;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .mp-register-page {
    padding: 16px 12px 40px;
  }
  .mp-register-card {
    padding: 20px 16px;
  }
  .mp-slug-prefix {
    padding: 10px 8px;
    font-size: 13px;
  }
}
.mp-ref-label {
  display: block;
  line-height: 1.45;
}
.mp-ref-label .mp-ref-ico {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 5px;
  color: #059669;
}
.mp-register-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 12px;
  padding-top: 18px;
  border-top: 1px solid #E2E8F0;
}
.mp-register-step-head:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.mp-register-step-badge {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #0B1528;
  color: #FDE68A;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mp-register-step-title {
  flex: 1 1 auto;
  min-width: 0;
}
.mp-slug-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
}
.mp-slug-prefix {
  padding: 10px 12px;
  background: #F1F5F9;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid #CBD5E1;
  white-space: nowrap;
}
.mp-slug-input-wrap input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.mp-slug-status {
  font-size: 12px;
  font-weight: 600;
  min-height: 18px;
}
.mp-slug-status.is-ok { color: #059669; }
.mp-slug-status.is-err { color: #DC2626; }
.mp-sticky-preview {
  position: sticky;
  top: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 18px;
  text-align: center;
}

/* =========================================================
   SUPER-ADMIN CONSOLE (/admin)
   ========================================================= */
.mp-admin-page {
  min-height: 100dvh;
  background: #F1F5F9;
  color: #0B1528;
}
.mp-admin-header {
  background: #0B1528;
  color: #FFFFFF;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.mp-admin-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}
.mp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 1024px) {
  .mp-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mp-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mp-kpi-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
}
.mp-kpi-card span {
  display: block;
  font-size: 12px;
  color: #64748B;
  font-weight: 600;
}
.mp-kpi-card strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  margin-top: 2px;
  color: #0B1528;
}
.mp-admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.mp-admin-tab {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  font-weight: 700;
  font-size: 14px;
}
.mp-admin-tab.is-active {
  background: #0B1528;
  color: #FDE68A;
  border-color: #0B1528;
}
.mp-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mp-admin-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.mp-admin-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  max-width: 100%;
}
@media (max-width: 640px) {
  .mp-admin-toolbar-right { flex-wrap: wrap; width: 100%; }
}
.mp-admin-toolbar-right .mp-select,
.mp-admin-toolbar-right .mp-input {
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  font-size: 13.5px;
  line-height: 38px;
  box-sizing: border-box;
  margin: 0;
}
.mp-beta-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.mp-beta-kpi-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 112px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(11, 21, 40, 0.04);
}
.mp-beta-kpi-card span {
  display: block;
  font-size: 13px;
  color: #475569;
  font-weight: 700;
  line-height: 1.35;
}
.mp-beta-kpi-card strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: #0B1528;
  margin-top: 12px;
}
.mp-admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mp-filter-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}
.mp-filter-chip.is-active {
  background: #0B1528;
  color: #FFFFFF;
  border-color: #0B1528;
}
.mp-artist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-artist-row {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.mp-artist-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 220px;
  max-width: 100%;
}
.mp-artist-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.mp-artist-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mp-editor-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 960px) {
  .mp-editor-grid { grid-template-columns: 1fr; }
}
.mp-editor-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px;
}
.mp-editor-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}
.mp-sub-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

/* Interactive Multi-Select KPI Filter Cards (Admin) */
button.mp-kpi-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
button.mp-kpi-card:hover {
  border-color: #94A3B8;
  transform: translateY(-1px);
}
button.mp-kpi-card.is-active {
  background: #0B1528;
  border-color: #D4AF37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}
button.mp-kpi-card.is-active span {
  color: #FDE68A;
}
button.mp-kpi-card.is-active strong {
  color: #FFFFFF;
}
.mp-kpi-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D4AF37;
  opacity: 0;
  transition: opacity 0.15s ease;
}
button.mp-kpi-card.is-active .mp-kpi-dot {
  opacity: 1;
}

/* Clean Custom File Picker Button (zero native "Browse... No file selected.") */
.mp-file-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mp-file-name {
  font-size: 12.5px;
  color: #475569;
  font-weight: 500;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Smooth GPU Containment on Heavy Panels */


/* =========================================================
   INTERACTIVE SPOTLIGHT TUTORIAL (FIRST ACCESS + REPLAY)
   ========================================================= */
.mp-guide-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9200;
  pointer-events: auto;
}
.mp-guide-spotlight {
  position: fixed;
  z-index: 9205;
  border-radius: 16px;
  border: 3px solid #D4AF37;
  box-shadow: 0 0 0 9999px rgba(2, 6, 23, 0.76), 0 0 24px rgba(212, 175, 55, 0.55);
  pointer-events: none;
  transition: top 0.28s cubic-bezier(0.22, 1, 0.36, 1), left 0.28s cubic-bezier(0.22, 1, 0.36, 1), width 0.28s cubic-bezier(0.22, 1, 0.36, 1), height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.mp-guide-popover {
  position: fixed;
  z-index: 9210;
  width: min(360px, calc(100vw - 24px));
  background: #FFFFFF;
  color: #0B1528;
  border: 2px solid #D4AF37;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.45);
  transition: top 0.25s ease, left 0.25s ease;
}
.mp-guide-step-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #B45309;
  margin-bottom: 4px;
}
.mp-guide-popover h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #0B1528;
}
.mp-guide-popover p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
}
.mp-guide-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* MioBorderò 1-Click Highlight Banner on Landing (Header composito senza vuoti) */
.mp-bordero-banner {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 26px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 65% 85% at 10% 0%, rgba(245, 196, 81, 0.16), transparent 62%),
    linear-gradient(135deg, rgba(22, 37, 68, 0.92) 0%, rgba(11, 21, 40, 0.96) 100%);
  border: 1px solid rgba(245, 196, 81, 0.44);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}
.mp-bordero-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mp-bordero-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mp-bordero-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.22), rgba(212, 175, 55, 0.08));
  border: 1.5px solid rgba(245, 196, 81, 0.55);
  box-shadow: 0 0 18px rgba(245, 196, 81, 0.18);
  color: #FDE68A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mp-bordero-heading {
  flex: 1;
  min-width: 0;
}
.mp-bordero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #F5C451;
  margin-bottom: 3px;
}
.mp-bordero-heading h3 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  color: #FFFFFF;
}
.mp-bordero-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: #CBD5E1;
}
.mp-bordero-cta {
  flex-shrink: 0;
}
@media (max-width: 820px) {
  .mp-bordero-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 18px;
    gap: 16px;
  }
  .mp-bordero-heading h3 {
    font-size: 19px;
  }
  .mp-bordero-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Circular "?" Help Button & Popover Tooltip */
.mp-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  margin-left: 6px;
  border-radius: 50%;
  border: 1.5px solid #94A3B8;
  background: #F8FAFC;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
  flex-shrink: 0;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.mp-help-btn:hover {
  background: #0B1528;
  border-color: #0B1528;
  color: #FDE68A;
}
.mp-help-popover {
  position: fixed;
  z-index: 9600;
  background: #0B1528;
  color: #F8FAFC;
  border: 1.5px solid #D4AF37;
  border-radius: 12px;
  padding: 11px 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
  font-size: 12.5px;
  line-height: 1.5;
  pointer-events: auto;
}
.mp-help-popover p {
  margin: 0;
}

/* Tip / Drink Provider Quick Pills */
.mp-tip-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}
.mp-tip-pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0B1528;
  font-size: 12px;
  font-weight: 700;
}
.mp-tip-pill.is-active {
  background: #0B1528;
  border-color: #0B1528;
  color: #FDE68A;
}

/* Admin Config Switch & Status Badges */
.mp-toggle-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mp-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mp-mode-badge.is-beta {
  background: linear-gradient(135deg, #064E3B 0%, #0F766E 100%);
  color: #FDE68A;
  border: 1px solid rgba(212, 175, 55, 0.55);
}
.mp-mode-badge.is-commercial {
  background: linear-gradient(135deg, #0B1528 0%, #1E3A8A 100%);
  color: #FDE68A;
  border: 1px solid rgba(212, 175, 55, 0.55);
}
.mp-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 178px;
  min-width: 178px;
  max-width: 178px;
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #0B1528;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.mp-toggle-btn[aria-checked="true"] {
  background: #0B1528;
  border-color: #D4AF37;
  color: #FDE68A;
}
.mp-toggle-track {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #94A3B8;
  transition: background 0.18s ease;
  flex-shrink: 0;
}
.mp-toggle-label,
#cfgToggleBtnLbl {
  flex: 1 1 auto;
  text-align: center;
  white-space: nowrap;
  font-weight: 800;
  font-size: 13px;
  transition: none;
}
.mp-toggle-btn[aria-checked="true"] .mp-toggle-track {
  background: #10B981;
}
.mp-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}
.mp-toggle-btn[aria-checked="true"] .mp-toggle-thumb {
  transform: translateX(20px);
}
.mp-save-banner {
  padding: 12px 16px;
  border-radius: 12px;
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  color: #065F46;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Landing Beta Single Launch Card */
.mp-beta-launch-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 32px;
  border-radius: 24px;
  background: linear-gradient(155deg, #071022 0%, #0E1F3F 60%, #15284C 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 24px 60px rgba(3, 8, 20, 0.55);
  text-align: center;
  color: #FFFFFF;
}
.mp-beta-launch-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(245, 196, 81, 0.6);
  color: #FDE68A;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mp-beta-launch-card h2 {
  margin: 0 0 10px;
  font-family: var(--mp-font-heading);
  font-size: clamp(26px, 4vw, 36px);
  color: #FFFFFF;
}
.mp-beta-launch-sub {
  margin: 0 auto 24px;
  max-width: 560px;
  font-size: 15.5px;
  color: #CBD5E1;
  line-height: 1.55;
}
.mp-beta-launch-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 26px;
  max-width: 500px;
  text-align: left;
  display: grid;
  gap: 10px;
}
.mp-beta-launch-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #F8FAFC;
  font-weight: 600;
}

/* Hero Video Promo Button & Responsive Modal */
.mp-btn-promo-play {
  background: rgba(11, 21, 40, 0.85);
  color: #F8FAFC;
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.mp-btn-promo-play:hover {
  background: rgba(20, 36, 68, 0.96);
  border-color: #F5C451;
  color: #FFFFFF;
}
.mp-play-gold-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5C451, #D4AF37);
  color: #0B1528;
  font-size: 11px;
  padding-left: 2px;
  flex-shrink: 0;
}
.mp-video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9800;
  background: rgba(6, 10, 20, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mp-video-modal-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 94vw;
}
.mp-video-modal-frame {
  position: relative;
  border-radius: 18px;
  border: 1.5px solid rgba(245, 196, 81, 0.65);
  background: #050914;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-video-modal-frame.is-landscape {
  aspect-ratio: 16 / 9;
  width: min(920px, 92vw);
}
.mp-video-modal-frame.is-portrait {
  aspect-ratio: 9 / 16;
  max-height: 76vh;
  width: auto;
  max-width: 92vw;
}
.mp-video-modal-frame video,
.mp-video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  background: #000000;
}
.mp-video-modal-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.mp-video-modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9850;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 196, 81, 0.75);
  background: rgba(11, 21, 40, 0.92);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mp-video-modal-close:hover {
  background: #D4AF37;
  color: #0B1528;
}

/* Schermata Verifica Email Obbligatoria */
.mp-verify-gate {
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 52%), #0B1528;
  min-height: 100vh;
  padding: 24px 16px;
}
.mp-verify-card {
  max-width: 480px;
  width: 100%;
  background: linear-gradient(180deg, #101E38, #0B1528);
  color: #F8FAFC;
  border: 1.5px solid rgba(212, 175, 55, 0.58);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5);
  padding: 28px 24px;
}
.mp-verify-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.mp-verify-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #FDE68A;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mp-verify-card h1 {
  margin: 4px 0 2px;
  font-family: var(--mp-font-heading);
  font-size: 24px;
  line-height: 1.25;
  color: #FFFFFF;
}
.mp-verify-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: #CBD5E1;
}
.mp-verify-email {
  color: #F5C451;
  word-break: break-word;
}
.mp-verify-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-verify-card .mp-btn-outline {
  color: #FDE68A;
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.04);
}
.mp-verify-card .mp-btn-outline:hover:not(:disabled) {
  background: rgba(212, 175, 55, 0.15);
}
.mp-verify-card .mp-btn-ghost {
  color: #CBD5E1;
}
.mp-verify-card .mp-btn-ghost:hover:not(:disabled) {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

/* Lightbox Anteprime Schermate — Griglia rigida a 3 fasce bloccate (100dvh) */
.mp-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9820;
  height: 100dvh;
  background: rgba(6, 10, 20, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  padding: 12px 12px 16px;
  box-sizing: border-box;
  overflow: hidden;
}
.mp-lightbox-shell {
  width: 100%;
  max-width: 980px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
}
.mp-lightbox-header {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-lightbox-top-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
.mp-lightbox-close {
  position: static;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 196, 81, 0.72);
  background: rgba(15, 23, 42, 0.88);
  color: #FFFFFF;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.mp-lightbox-close:hover,
.mp-lightbox-close:active {
  background: #F5C451;
  color: #0B1528;
}
.mp-lightbox-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.mp-lightbox-tabs::-webkit-scrollbar {
  display: none;
}
.mp-lightbox-tab {
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.mp-lightbox-tab.is-active {
  background: #F5C451;
  border-color: #F5C451;
  color: #0B1528;
  font-weight: 700;
}
.mp-lightbox-stage {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
}
.mp-lightbox-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mp-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  border: 1.5px solid rgba(245, 196, 81, 0.65);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.72);
  background: #0B1528;
}
.mp-lightbox-nav {
  width: 42px;
  height: 42px;
  justify-self: center;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 196, 81, 0.65);
  background: rgba(15, 23, 42, 0.85);
  color: #FDE68A;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.mp-lightbox-nav:hover,
.mp-lightbox-nav:active {
  background: #F5C451;
  border-color: #F5C451;
  color: #0B1528;
}
.mp-lightbox-caption {
  flex: 0 0 auto;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding-top: 8px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}
.mp-lightbox-caption strong {
  display: block;
  font-size: 16px;
  color: #FDE68A;
  margin-bottom: 4px;
}
.mp-lightbox-caption p {
  margin: 0;
  font-size: 13.5px;
  color: #CBD5E1;
  line-height: 1.45;
}
@media (max-width: 640px) {
  .mp-lightbox-tab {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Pulsante Instagram Modale Condivisione */
.mp-btn-instagram {
  background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}
.mp-btn-instagram:hover {
  filter: brightness(1.06);
  color: #FFFFFF;
}

/* =========================================================
   ADMIN DASHBOARD STATISTICHE & GRAFICI (ZERO COSTI FIRESTORE)
   ========================================================= */
.mp-stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 960px) {
  .mp-stats-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .mp-stats-kpi-grid { grid-template-columns: 1fr; }
}
.mp-stats-kpi-card {
  background: linear-gradient(155deg, #0B1528, #142342);
  color: #FFFFFF;
  border: 1px solid rgba(245, 196, 81, 0.35);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 24px rgba(11, 21, 40, 0.14);
}
.mp-stats-kpi-lbl {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FDE68A;
}
.mp-stats-kpi-val {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
  color: #FFFFFF;
}
.mp-stats-kpi-sub {
  font-size: 12.5px;
  color: #CBD5E1;
  line-height: 1.35;
}
.mp-stats-live-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.mp-stats-live-pill {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.16);
  color: #6EE7B7;
  font-size: 11.5px;
  font-weight: 700;
}
.mp-stats-chart-card {
  background: #0B1528;
  color: #FFFFFF;
  border: 1px solid rgba(245, 196, 81, 0.35);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 16px;
}
.mp-stats-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.mp-stats-chart-head h3 {
  margin: 0;
  font-size: 17px;
  color: #FDE68A;
}
.mp-stats-chart-sub {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #94A3B8;
}
.mp-stats-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mp-stats-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.mp-stats-seg button {
  padding: 6px 10px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 700;
}
.mp-stats-seg button.is-active {
  background: #F5C451;
  color: #0B1528;
}
.mp-stats-svg-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.mp-stats-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.mp-svg-bar-grp {
  cursor: pointer;
  outline: none;
}
.mp-stats-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 820px) {
  .mp-stats-two-col { grid-template-columns: 1fr; }
}
.mp-stats-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px;
}
.mp-stats-panel h3 {
  margin: 0 0 14px;
  font-size: 16px;
  color: #0B1528;
}
.mp-stats-plan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.mp-stats-plan-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px;
  color: #334155;
}
.mp-stats-plan-track {
  height: 8px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
}
.mp-stats-plan-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.mp-stats-rev-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  font-size: 13px;
}
.mp-stats-rev-box > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #78350F;
}
.mp-stats-top-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mp-stats-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}
.mp-stats-rank {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #0B1528;
  color: #FDE68A;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mp-stats-infra-card {
  background: linear-gradient(135deg, #0B1528, #162544);
  color: #FFFFFF;
  border: 1.5px solid rgba(245, 196, 81, 0.45);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.mp-stats-infra-card h3 {
  margin: 0;
  font-size: 16px;
  color: #FFFFFF;
}

/* Override finale cascata Mobile Landing (<= 767px) — spaziature calibrate senza tagli di contenuto */
@media (max-width: 767px) {
  .mp-landing .mp-section {
    padding: 32px 0;
  }
  .mp-landing .mp-section-head {
    margin: 0 auto 18px;
  }
  .mp-landing .mp-section-head h2 {
    font-size: 25px;
    margin-bottom: 6px;
  }
  .mp-landing .mp-section-head p {
    font-size: 15px;
    line-height: 1.5;
  }
  .mp-landing .mp-tour-shell {
    padding: 14px;
    border-radius: 18px;
  }
  .mp-landing .mp-tour-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
  }
  .mp-landing .mp-tour-tab {
    padding: 9px 6px;
    text-align: center;
    border-radius: 10px;
  }
  .mp-landing .mp-tour-tab strong {
    font-size: 11.5px;
    justify-content: center;
    margin-bottom: 0;
    line-height: 1.25;
  }
  .mp-landing .mp-tour-tab span {
    display: none;
  }
  .mp-landing .mp-tour-stage {
    padding: 16px 14px;
    gap: 14px;
  }
  .mp-landing .mp-bordero-banner {
    margin-top: 16px;
    padding: 18px 16px;
    gap: 14px;
  }
  .mp-landing .mp-bordero-heading h3 {
    font-size: 19px;
  }
  .mp-landing .mp-bordero-desc {
    font-size: 14.5px;
    line-height: 1.52;
  }
  .mp-landing .mp-beta-launch-card {
    padding: 24px 18px;
  }
  .mp-landing .mp-beta-launch-sub {
    margin-bottom: 16px;
    font-size: 15px;
  }
  .mp-landing .mp-beta-launch-list {
    margin-bottom: 18px;
    gap: 8px;
  }
  .mp-landing .mp-lead-grid {
    gap: 22px;
  }
  .mp-landing .mp-lead-card {
    padding: 20px 16px;
  }
  .mp-landing .mp-lead-card .mp-field {
    margin-bottom: 10px;
  }
  .mp-landing .mp-lead-card .mp-textarea {
    min-height: 76px;
  }
  .mp-landing .mp-faq-item {
    padding: 13px 14px;
  }
  .mp-landing .mp-faq-item summary {
    font-size: 15px;
    line-height: 1.4;
  }
  .mp-landing .mp-faq-item p {
    font-size: 14.5px;
    line-height: 1.5;
  }
  .mp-landing .mp-landing-footer {
    padding: 24px 0 82px;
  }
}

