/* =====================================================================
   landing.css — solo la pagina di ingresso.
   Tutto il resto del sito usa app.css.
   ===================================================================== */

.landing h1, .landing h2 { letter-spacing: -.025em; }

/* --------------------------------------------------------------- hero */
.hero-landing {
  background:
    radial-gradient(1200px 400px at 15% -10%, rgba(31,95,158,.10), transparent 60%),
    radial-gradient(900px 400px at 95% 10%, rgba(240,165,0,.12), transparent 55%),
    #fff;
  border-bottom: 1px solid var(--mco-line);
}

/* La riga barrata dell'hero: il gesto che nomina il problema. */
.strike-through {
  position: relative;
  color: #8794a3;
  white-space: nowrap;
}
.strike-through::after {
  content: "";
  position: absolute;
  left: -.1em; right: -.1em;
  top: 55%;
  height: 4px;
  border-radius: 2px;
  background: var(--mco-accent);
  transform: rotate(-1.5deg);
}

/* ------------------------------------------- finta schermata dell'app */
.app-preview {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--mco-line);
  background: #fff;
}
.app-preview-bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .7rem .9rem;
  background: #eef1f5;
  border-bottom: 1px solid var(--mco-line);
}
.app-preview-bar > span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #cbd3dc;
}
.app-preview-url {
  flex: 1;
  margin-left: .6rem;
  background: #fff;
  border: 1px solid var(--mco-line);
  border-radius: 999px;
  padding: .15rem .7rem;
  font-size: .72rem;
  color: #7c8894;
  text-align: center;
}
.app-preview-body { padding: 1.4rem; }

.preview-stat {
  border: 1px solid var(--mco-line);
  border-radius: .6rem;
  padding: .7rem .4rem;
  text-align: center;
}
.preview-stat-value {
  font-size: 1.4rem; font-weight: 700;
  color: var(--mco-ink); line-height: 1;
}
.preview-stat-label {
  font-size: .68rem; color: #7c8894;
  margin-top: .25rem;
}

.preview-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 600;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: rgba(31,95,158,.09);
  color: var(--mco-primary);
  border: 1px solid rgba(31,95,158,.2);
}

/* ------------------------------------------------------------ problema */
.problem-card {
  background: #fff;
  border: 1px solid var(--mco-line);
  border-radius: .9rem;
  padding: 1.6rem;
  height: 100%;
}
.problem-card > .bi {
  font-size: 1.8rem;
  color: var(--mco-accent);
}

/* --------------------------------------------------------------- passi */
.steps li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--mco-line);
}
.steps li:last-child { border-bottom: 0; }

.step-num {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--mco-primary);
  color: #fff;
  font-weight: 700; font-size: .85rem;
}

/* --------------------------------------------------------------- badge */
.badge-tile {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .8rem;
  padding: 1.1rem .7rem;
  text-align: center;
  height: 100%;
  transition: transform .15s ease, background .15s ease;
}
.badge-tile:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.11);
}
.badge-tile > .bi {
  font-size: 1.6rem;
  color: var(--mco-accent);
}
.badge-tile-name {
  font-weight: 600; font-size: .85rem;
  color: #fff; margin-top: .4rem;
}
.badge-tile-desc {
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  margin-top: .2rem;
  line-height: 1.35;
}
.badge-tile.badge-secret {
  border-style: dashed;
}
.badge-tile.badge-secret > .bi { color: rgba(255,255,255,.4); }

/* ------------------------------------------------------ sezione Free */
.free-section {
  background: linear-gradient(180deg, #fff 0%, #f4f6f9 100%);
}
.free-card {
  background: #fff;
  border: 2px solid var(--mco-primary);
  border-radius: 1.1rem;
  padding: 2.5rem;
  box-shadow: 0 1.2rem 3rem rgba(31,95,158,.12);
}
@media (max-width: 575.98px) {
  .free-card { padding: 1.5rem; }
}

.free-perk {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .8rem;
  border: 1px solid var(--mco-line);
  border-radius: .6rem;
  height: 100%;
}
.free-perk > .bi {
  font-size: 1.2rem;
  color: var(--mco-primary);
  flex-shrink: 0;
}

.mini-plan {
  border: 1px solid var(--mco-line);
  border-radius: .7rem;
  padding: .9rem 1.4rem;
  background: #fff;
  min-width: 130px;
}

/* --------------------------------------------------------- chiusura */
.final-cta {
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(240,165,0,.10), transparent 65%),
    #fff;
  border-top: 1px solid var(--mco-line);
}

/* ------------------------------------------------------- obiezioni */
.landing .accordion-button {
  font-weight: 600;
  color: var(--mco-ink);
}
.landing .accordion-button:not(.collapsed) {
  color: var(--mco-primary);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .badge-tile { transition: none; }
  .badge-tile:hover { transform: none; }
}
