/* ── SEZIONE DEMO ────────────────────────────────────────── */
/* Aggiungere in fondo a landing.css                         */
#lp-demo {
  padding: 120px 0;
  background: #ffffff;
  overflow: hidden;
}

.lp-demo-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 80px;
}

.lp-demo-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}

/* ── MOCKUP TELEFONO ─────────────────────────────────────── */
.lp-demo-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.lp-demo-phone {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}

.lp-demo-phone-frame {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 32px 48px rgba(0,0,0,.18));
}

.lp-demo-screen {
  position: absolute;
  top: 3.2%;
  left: 3.3%;
  right: 3.3%;
  bottom: 2.2%;
  border-radius: 30px;
  overflow: hidden;
  z-index: 1;
  background: var(--ivory);
  z-index: 999;
}

.lp-demo-screen iframe {
    width: 375px;
    height: 812px;
    border: none;
    transform: scale(0.7);
    transform-origin: top left;
    pointer-events: auto;
}

/* Badge floating */
.lp-demo-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
  z-index: 10;
}

.lp-demo-badge--top {
  top: 20px;
  right: -20px;
  z-index: 99999999999999999;
}

.lp-demo-badge--bottom {
  bottom: 40px;
  left: -20px;
  z-index: 99999999999999999;

}

.lp-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
}

/* Glow sfondo */
.lp-demo-phone-wrap::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(125,155,118,.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* ── CONTENUTO LATERALE ──────────────────────────────────── */
.lp-demo-content {}

.lp-demo-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lp-demo-feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}

.lp-demo-feature-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-demo-feature h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}

.lp-demo-feature p {
  font-size: .875rem;
  line-height: 1.75;
  color: var(--text-light);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .lp-demo-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .lp-demo-phone-wrap {
    order: 2;
  }
  .lp-demo-content {
    order: 1;
  }
  .lp-demo-badge { display: none; }
}

@media (max-width: 480px) {
  .lp-demo-phone {
    width: 240px;
  }
  .lp-demo-screen iframe {
    transform: scale(0.58);
  }
}
