/* Homepage — usa i token di base.css */

/* ------------------------------------------------------------------ hero */

.hero {
  padding: 72px 0 24px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__copy h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin: 16px 0 18px;
}

.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
}

.hero__actions .btn {
  width: auto;
  min-width: 190px;
}

.hero__note {
  font-size: 13px;
  color: var(--text-muted);
}

/* schermate reali dell'app dentro una cornice da TV */
.hero__visual {
  position: relative;
}

.tv-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: #05070d;
  padding: 8px;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.tv-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - 8px);
}

.showcase {
  padding: 56px 0 8px;
}

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --------------------------------------------------------------- trust */

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  padding: 40px 24px 0;
  margin: 0 auto;
}

.trust li {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 24, 40, 0.6);
}

.trust strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.trust span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ------------------------------------------------------------- sezioni */

.section {
  padding: 88px 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.55), transparent);
  border-block: 1px solid var(--border);
}

.section__title {
  font-size: clamp(26px, 3.2vw, 38px);
  text-align: center;
}

.section__subtitle {
  text-align: center;
  color: var(--text-dim);
  max-width: 62ch;
  margin: 0 auto 44px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(21, 31, 51, 0.75), rgba(16, 24, 40, 0.7));
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid rgba(46, 123, 255, 0.4);
  color: #cfe0ff;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 17px;
}

.step p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.7);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid rgba(46, 123, 255, 0.3);
  color: var(--accent);
  font-size: 17px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 16px;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
}

.sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.sources__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-inline-end: 6px;
}

.sources__item {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

/* --------------------------------------------------------------- prezzo */

.pricing {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(40, 224, 255, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(21, 31, 51, 0.9), rgba(11, 17, 32, 0.9));
}

.pricing__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.pricing__list li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 14px;
  color: var(--text-dim);
}

.pricing__list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--success);
  font-weight: 800;
}

.pricing__card {
  text-align: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.75);
}

.pricing__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.pricing__amount {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 6px 0 4px;
}

.pricing__note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ------------------------------------------------------------- download */

.download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(60% 140% at 0% 0%, rgba(46, 123, 255, 0.2), transparent 60%),
    rgba(11, 17, 32, 0.8);
}

.download h2 {
  font-size: clamp(24px, 2.6vw, 32px);
}

.download p {
  color: var(--text-dim);
  margin: 0;
  max-width: 46ch;
}

.download__actions .btn {
  min-width: 240px;
}

.download__hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}

/* ------------------------------------------------------------------ faq */

.faq-short {
  max-width: 760px;
  margin: 0 auto 24px;
  display: grid;
  gap: 10px;
}

.faq-short details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(11, 17, 32, 0.6);
  padding: 16px 18px;
}

.faq-short summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
}

.faq-short summary::-webkit-details-marker {
  display: none;
}

.faq-short summary::after {
  content: "+";
  float: inline-end;
  color: var(--brand);
  font-weight: 800;
}

.faq-short details[open] summary::after {
  content: "–";
}

.faq-short p {
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .hero__inner,
  .pricing,
  .grid--3,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .showcase__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 40px;
  }

  .hero__actions .btn,
  .download__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .trust {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .section {
    padding: 60px 0;
  }

  .pricing,
  .download {
    padding: 26px;
  }

}

/* --- identità dell'app nella sezione download --- */
.download__identity {
  display: flex;
  align-items: center;
  gap: 20px;
}

.download__icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.download__identity h2 {
  margin-bottom: 6px;
}

@media (max-width: 640px) {
  .download__identity {
    gap: 14px;
  }
  .download__icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
}
