:root {
  --rosso-plasma: #E30613;
  --giallo-estate: #F39200;
  --grigio-antracite: #2B2A29;
  --grigio-perla: #E6E6E6;
  --grigio-pensieroso: #667690;
  --viola-profumato: #8F8FE3;
  --viola-testo-titolo: #15153A;
  --viola-testo-corpo: #26265C;
  --bg-pagina: #1A1918;

  --font-display: 'Anton', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --content-max: 720px;
  --side-pad: 24px;
  --nav-height: 68px;
  --text-indent: 176px; /* = larghezza del logo in nav, rientro del testo rispetto a badge/etichetta */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-pagina);
  color: var(--grigio-perla);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

body {
  padding-top: var(--nav-height);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(26, 25, 24, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.nav-logo {
  height: 28px;
  width: auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.2) 45%,
    rgba(0,0,0,0) 75%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px var(--side-pad) 72px;
}
.eyebrow {
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--giallo-estate);
  margin: 0 0 16px;
}
.eyebrow-white {
  color: var(--grigio-perla);
}
.eyebrow-tech {
  color: var(--grigio-pensieroso);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  color: #FFFFFF;
  margin: 0 0 24px;
  max-width: 900px;
}
.accent-yellow {
  color: var(--giallo-estate);
}
.hero-lede {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.55;
  color: #FFFFFF;
  max-width: 560px;
  margin: 0 0 36px;
}
.btn-primary {
  display: inline-block;
  background: var(--rosso-plasma);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 4px;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px var(--side-pad);
  max-width: 1200px;
  margin: 0 auto;
}
.section-alt {
  background: var(--grigio-antracite);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.badge {
  width: 28px;
  height: 28px;
}

.section-body.prose {
  max-width: var(--content-max);
  margin-left: var(--text-indent);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0 0 28px;
}

.prose p {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  margin: 0 0 22px;
  color: var(--grigio-perla);
}
.prose strong {
  font-weight: 700;
  color: #FFFFFF;
}

.pull-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
  color: #FFFFFF;
  margin: 40px 0;
}
.pull-quote-final {
  font-size: clamp(30px, 4vw, 42px);
  margin-top: 48px;
}

/* ---------- Cards (Tre livelli di lettura) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-left: var(--text-indent);
}
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 32px;
}
.card-span {
  grid-column: 1 / -1;
}
.card-label {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--giallo-estate);
  margin: 0 0 16px;
}
.card-text {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  margin: 0;
  color: var(--grigio-perla);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.segment {
  border-radius: 6px;
  padding: 20px;
  border-top: 3px solid transparent;
  background: rgba(255,255,255,0.03);
}
.segment-orange { border-top-color: var(--giallo-estate); }
.segment-grey { border-top-color: var(--grigio-pensieroso); }
.segment-violet { border-top-color: var(--viola-profumato); }
.segment-title {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 10px;
  color: #FFFFFF;
}
.segment-text {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
  color: var(--grigio-perla);
}

/* ---------- Come funziona: specs ---------- */
.specs-list {
  margin: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.spec-row dt {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grigio-pensieroso);
  margin: 0;
}
.spec-row dd {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: var(--grigio-perla);
  font-variant-numeric: tabular-nums;
}

.violet-block {
  background: var(--viola-profumato);
  border-radius: 8px;
  padding: 40px;
  margin-top: 48px;
}
.violet-block h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  color: var(--viola-testo-titolo);
  margin: 0 0 18px;
}
.violet-block p {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--viola-testo-corpo);
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: var(--content-max);
  margin-left: var(--text-indent);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  color: #FFFFFF;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 22px;
  color: var(--giallo-estate);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 0 24px;
}
.faq-answer p {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  margin: 0 0 16px;
  color: var(--grigio-perla);
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong {
  font-weight: 700;
  color: #FFFFFF;
}
.faq-answer ul {
  margin: 0;
  padding-left: 20px;
}
.faq-answer li {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--grigio-perla);
  margin-bottom: 10px;
}
.faq-answer li:last-child { margin-bottom: 0; }
.faq-answer a {
  color: var(--giallo-estate);
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.footer {
  padding: 32px var(--side-pad) 40px;
  text-align: center;
}
.footer p {
  margin: 0;
  font-size: 13px;
  color: rgba(230,230,230,0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .section {
    padding: 64px var(--side-pad);
  }
  .hero {
    min-height: 480px;
  }
  .hero-content {
    padding: 40px var(--side-pad) 48px;
  }
  .hero-title {
    font-size: clamp(34px, 10vw, 52px);
  }
  .hero-lede {
    font-size: 17px;
    max-width: none;
  }
  .section-body.prose {
    margin-left: 0;
  }
  .faq-list {
    margin-left: 0;
  }
  .faq-item summary {
    font-size: 16px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .segments-grid {
    grid-template-columns: 1fr;
  }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .pull-quote {
    font-size: clamp(22px, 6vw, 28px);
  }
  .violet-block {
    padding: 28px;
  }
}
