/* ============================================================
   Home (landing) — Apple-style override
   Scoped under body.lp so nothing else is affected.
   Layout pulito, tipografia sans, molto respiro.
   ============================================================ */

.lp {
  /* Palette neutra in stile Apple, accento del brand mantenuto */
  --ink:        #1d1d1f;
  --ink-soft:   #424245;
  --muted:      #6e6e73;
  --hairline:   #d2d2d7;
  --gray:       #f5f5f7;
  --accent:     var(--c-primary);
  --accent-dark:var(--c-primary-dark);
  --f-apple:    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "DM Sans", system-ui, sans-serif;

  background-color: #fff;
  color: var(--ink);
  font-family: var(--f-apple);
  letter-spacing: -0.011em;
}

/* ── Tipografia: sans, nera, tracking stretto ─────────────── */
.lp h1, .lp h2, .lp h3, .lp h4 {
  font-family: var(--f-apple);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.07;
}

.lp p { max-width: none; }

/* ── Sezioni: ritmo verticale ampio, niente bordi caldi ───── */
.lp .section { padding-block: clamp(4rem, 9vw, 8rem); }
.lp .section--alt { background-color: var(--gray); }

.lp .section__header {
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.lp .section__eyebrow {
  color: var(--accent);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 1rem;
  margin-bottom: var(--sp-3);
}
.lp .section__title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-4);
}
.lp .section__lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  color: var(--muted);
  line-height: 1.5;
  max-width: 38rem;
}

/* ── Bottoni: pill, peso medio ────────────────────────────── */
.lp .btn {
  font-family: var(--f-apple);
  font-weight: 500;
  border-radius: 980px;
  letter-spacing: -0.01em;
}
.lp .btn--lg {
  padding: 0.85rem 1.6rem;
  font-size: 1.0625rem;
  border-radius: 980px;
}
.lp .btn--primary {
  background-color: var(--accent);
  border-color: var(--accent);
}
.lp .btn--primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: none;
  box-shadow: none;
}
.lp .btn:hover { transform: none; box-shadow: none; }

/* link testuale con chevron, stile Apple */
.lp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--accent);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
}
.lp-link::after { content: '›'; font-size: 1.25em; line-height: 1; transition: transform .2s ease; }
.lp-link:hover { color: var(--accent-dark); text-decoration: none; }
.lp-link:hover::after { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.lp .hero {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: #fff;
}
.lp .hero::before {
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(196,93,62,0.06) 0%, transparent 60%);
}
.lp .hero__eyebrow {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.lp .hero__title {
  font-family: var(--f-apple);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: var(--sp-5);
}
.lp .hero__title em {
  font-style: normal;
  color: var(--accent);
  white-space: normal;
}
.lp .hero__lead {
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  color: var(--muted);
  line-height: 1.45;
  max-width: 40ch;
  margin-bottom: var(--sp-8);
}
.lp .hero__actions { gap: var(--sp-5); margin-bottom: clamp(3rem, 6vw, 4.5rem); }

/* iPhone mockup centrale */
.lp-device {
  --w: clamp(240px, 62vw, 300px);
  width: var(--w);
  aspect-ratio: 300 / 610;
  margin: 0 auto;
  background: #0a0a0a;
  border-radius: clamp(34px, 9vw, 46px);
  padding: clamp(8px, 2.4vw, 11px);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.10),
    0 30px 70px -22px rgba(0,0,0,0.45),
    inset 0 0 0 1.5px rgba(255,255,255,0.08);
  position: relative;
}
.lp-device::before { /* notch */
  content: '';
  position: absolute;
  top: clamp(8px, 2.4vw, 11px);
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 1.55rem;
  background: #0a0a0a;
  border-radius: 0 0 1rem 1rem;
  z-index: 3;
}
.lp-device__screen {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: clamp(26px, 7vw, 36px);
  overflow: hidden;
  background: #fff;
}
.lp-device__screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  pointer-events: none;
}

/* ============================================================
   FEATURES — card pulite, ombra morbida, niente emoji-box colorato
   ============================================================ */
.lp .features__grid { gap: clamp(1rem, 2.2vw, 1.5rem); }
.lp .feature-card {
  background: var(--gray);
  border: none;
  border-radius: 22px;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: none;
  transition: transform .4s cubic-bezier(.25,.46,.3,1), box-shadow .4s ease, background .4s ease;
}
.lp .feature-card:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 22px 50px -24px rgba(0,0,0,0.28);
}
.lp .feature-card__icon {
  width: 54px;
  height: 54px;
  background: #fff;
  color: var(--accent);
  border-radius: 15px;
  margin-bottom: var(--sp-6);
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 16px -8px rgba(0,0,0,.18);
}
.lp .feature-card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp .feature-card__title {
  font-family: var(--f-apple);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.3125rem;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}
.lp .feature-card__desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   DESIGN SHOWCASE (tiles già Apple-like, piccoli ritocchi)
   ============================================================ */
.lp .design-tile__name { font-family: var(--f-apple); color: var(--ink); }

/* ============================================================
   PER CHI — chip pulite
   ============================================================ */
.lp .biz-tags { gap: var(--sp-3); max-width: 720px; }
.lp .biz-tags li {
  background: #fff;
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--sp-2) var(--sp-4);
}

/* ============================================================
   STEPS — numerazione pulita
   ============================================================ */
.lp .step__number {
  background: var(--ink);
  color: #fff;
  font-family: var(--f-apple);
  font-weight: 600;
  box-shadow: none;
}
.lp .step__title {
  font-family: var(--f-apple);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.3125rem;
}
.lp .step__desc { font-size: 1rem; color: var(--muted); line-height: 1.5; }

/* ============================================================
   PRICING — card pulita
   ============================================================ */
.lp .pricing-card {
  border: 1px solid var(--hairline);
  border-radius: 28px;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,0.35);
}
.lp .pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.45);
}
.lp .pricing-card--featured .pricing-card__badge { background: var(--accent); }
.lp .pricing-card__amount { font-family: var(--f-apple); font-weight: 700; letter-spacing: -0.03em; }
.lp .pricing-card__badge { background: var(--ink); }
.lp .pricing-card__features li::before { background: var(--accent); }

/* ============================================================
   FAQ — accordion con hairline (stile Apple)
   ============================================================ */
.lp-faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--hairline);
}
.lp-faq details {
  border-bottom: 1px solid var(--hairline);
}
.lp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-1);
  cursor: pointer;
  list-style: none;
  font-family: var(--f-apple);
  font-weight: 600;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: '+';
  flex-shrink: 0;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  transition: transform .25s ease;
}
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq__answer {
  padding: 0 var(--sp-1) var(--sp-6);
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* ============================================================
   CTA finale — pulita, niente banner pieno colore
   ============================================================ */
.lp .cta {
  background: #fff;
  padding-block: clamp(4rem, 9vw, 7rem);
}
.lp .cta::before { display: none; }
.lp .cta__title {
  font-family: var(--f-apple);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(2rem, 4.5vw, 3rem);
}
.lp .cta__lead { color: var(--muted); font-size: clamp(1.0625rem, 1.8vw, 1.3125rem); }
.lp .cta .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: none;
}
.lp .cta .btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .lp .feature-card,
  .lp-link::after,
  .lp-faq summary::after { transition: none; }
}

/* ============================================================
   MOBILE — testi centrati in stile Apple (card funzionalità + passi)
   ============================================================ */
@media (max-width: 640px) {
  /* Card funzionalità: icona e testo centrati */
  .lp .feature-card { text-align: center; }
  .lp .feature-card__icon { margin-left: auto; margin-right: auto; }

  /* Passi "Come funziona": numero e testo centrati */
  .lp .step { align-items: center; text-align: center; }
}
