/* ==========================================================================
   Sito vetrina.
   --------------------------------------------------------------------------
   Carica main.css prima di questo file: da la' arrivano palette, tipografia,
   pulsanti e tema scuro. Qui c'e' solo l'impaginazione della vetrina, con il
   prefisso lp- per non incrociare le classi dell'applicazione.
   ========================================================================== */

.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------------- barra */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.lp-nav-links { display: flex; gap: 22px; margin-left: auto; }

/* Il logotipo in barra segue il marchio: "adel" teal, "Flow" lime. */
.lp-nav .brand-name { color: var(--teal-400); }
.lp-nav .brand-name .battle { color: var(--lime-400); }

.lp-nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.lp-nav-links a:hover { color: var(--primary); }
.lp-nav-actions { display: flex; align-items: center; gap: 10px; }

/* -------------------------------------------------------------------- hero */
.lp-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(110% 80% at 6% 0%, rgba(36, 199, 158, 0.4) 0%, transparent 55%),
    radial-gradient(80% 70% at 98% 100%, rgba(201, 242, 77, 0.14) 0%, transparent 58%),
    linear-gradient(160deg, var(--navy-850) 0%, var(--navy-950) 100%);
}

.lp-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: 40px;
  width: 460px;
  height: 460px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  transform: rotate(16deg);
  pointer-events: none;
}

.lp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 76px 0 84px;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.lp-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 0 4px rgba(201, 242, 77, 0.18);
}

.lp-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.4px;
}

.lp-hero h1 em { font-style: normal; color: var(--lime-400); }

.lp-hero-sub {
  margin: 0 0 30px;
  font-size: clamp(15px, 1.4vw, 17.5px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.74);
  max-width: 34rem;
}

.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--teal-50); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }

.lp-cta-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* Badge degli store: stesso peso visivo dei pulsanti secondari. Con la classe
   "is-soon" restano spenti, perche' ancora non c'e' un indirizzo dove mandare
   chi li tocca. */
.lp-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.lp-store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.lp-store:hover { background: rgba(255, 255, 255, 0.16); }

/* L'icona sta in una gabbia di larghezza fissa: il telefono e il robot hanno
   ingombri molto diversi e senza gabbia le due scritte non partono allineate. */
.lp-store .material-symbols-rounded {
  flex: none;
  width: 26px;
  text-align: center;
  font-size: 25px;
}

.lp-store-text { display: flex; flex-direction: column; align-items: flex-start; }
.lp-store-text small { font-size: 10.5px; line-height: 1.35; letter-spacing: 0.2px; color: rgba(255, 255, 255, 0.62); }
.lp-store-text b { font-size: 15px; line-height: 1.25; font-weight: 700; letter-spacing: -0.2px; }

.lp-store.is-soon { opacity: 0.72; cursor: default; }
.lp-store.is-soon:hover { background: rgba(255, 255, 255, 0.08); }

/* Finto schermo dell'app: dice cosa fa il prodotto meglio di un paragrafo. */
.lp-mock {
  background: var(--surface);
  color: var(--ink);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.lp-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-soft);
}

.lp-mock-bar .dots { display: flex; gap: 5px; margin-right: 6px; }
.lp-mock-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.lp-mock-body { padding: 16px; }

.lp-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.lp-mock-row:last-child { border-bottom: 0; }
.lp-mock-row .pos { width: 22px; font-weight: 800; color: var(--ink-faint); }
.lp-mock-row.lead .pos { color: var(--accent); }
.lp-mock-row .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-mock-row.lead .who { font-weight: 800; }
.lp-mock-row .pts { font-weight: 800; color: var(--primary); }

.lp-mock-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-alt);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.lp-mock-foot .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(15, 180, 137, 0.18);
}

/* ---------------------------------------------------------------- sezioni */
.lp-section { padding: 84px 0; }
.lp-section.alt { background: var(--surface); border-block: 1px solid var(--line); }

.lp-head { max-width: 44rem; margin: 0 auto 48px; text-align: center; }

.lp-head .kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--primary);
}

.lp-head h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
}

.lp-head p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* ------------------------------------------------------------- funzioni */
.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.lp-feature {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.lp-section.alt .lp-feature { background: var(--bg); }

.lp-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.lp-feature-icon.accent { background: var(--accent-soft); color: var(--accent); }
.lp-feature h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; letter-spacing: -0.2px; }
.lp-feature p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ------------------------------------------------------------- passaggi */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.lp-step { position: relative; padding-top: 8px; }

.lp-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: linear-gradient(180deg, var(--teal-500), var(--teal-700));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.lp-step h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; }
.lp-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* --------------------------------------------------------------- prezzi */
.lp-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.lp-price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
}

.lp-price.best {
  border-color: var(--primary);
  box-shadow: 0 18px 44px rgba(10, 152, 115, 0.16);
}

.lp-price-flag {
  position: absolute;
  top: -13px;
  left: 26px;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal-500), var(--teal-700));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.lp-price h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.lp-price .cadence { margin: 0 0 22px; font-size: 13px; color: var(--ink-soft); }

.lp-price .amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.lp-price .amount b { font-size: 44px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.lp-price .amount span { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.lp-price .billed { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; }

.lp-price .save {
  display: inline-block;
  margin-bottom: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 11.5px;
  font-weight: 800;
}

.lp-price .save.empty { visibility: hidden; }
.lp-price .btn { width: 100%; margin-bottom: 22px; }
.lp-price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }

.lp-price li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.lp-price li .material-symbols-rounded { font-size: 19px; color: var(--primary); flex: none; }

.lp-price-note {
  margin: 32px auto 0;
  max-width: 46rem;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- domande */
.lp-faq { max-width: 46rem; margin: 0 auto; display: grid; gap: 12px; }

.lp-faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.lp-section.alt .lp-faq details { background: var(--bg); }

.lp-faq summary {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "add";
  font-family: "Material Symbols Rounded";
  font-size: 20px;
  color: var(--primary);
  flex: none;
}

.lp-faq details[open] summary::after { content: "remove"; }
.lp-faq p { margin: 0; padding: 0 22px 20px; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* ------------------------------------------------------------ chiusura */
.lp-final {
  padding: 76px 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(36, 199, 158, 0.32) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-850), var(--navy-950));
}

.lp-final h2 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.8px; }
.lp-final p { margin: 0 auto 28px; max-width: 34rem; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.lp-final .lp-cta { justify-content: center; }

/* ------------------------------------------------------------------ piede */
.lp-footer { padding: 44px 0; background: var(--navy-950); color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.lp-footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.lp-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.lp-footer a:hover { color: var(--lime-400); }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* I dati societari stanno sotto al copyright, non in fila con i link: sono
   un obbligo di legge, non una voce di navigazione. */
.lp-footer-legal {
  display: block;
  margin-top: 8px;
  max-width: 46rem;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.4);
}

.lp-footer-legal strong { color: rgba(255, 255, 255, 0.62); font-weight: 700; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 60px; }
  .lp-hero::after { display: none; }
  .lp-mock { transform: none; }
  .lp-nav-links { display: none; }
  .lp-section { padding: 60px 0; }
  .lp-head { margin-bottom: 34px; text-align: left; }
}

@media (max-width: 560px) {
  .lp-wrap { padding: 0 16px; }
  .lp-nav-inner { height: 60px; gap: 12px; }
  .lp-cta .btn { width: 100%; }
  .lp-price { padding: 26px 22px; }
  .lp-footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}
