/* =========================================================
   PROFANTASY PIT STOP ROADMAP
   File: css/roadmap.css
========================================================= */

.pf-roadmap {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  background: #030713;
  color: #ffffff;
  isolation: isolate;
}

.pf-roadmap * {
  box-sizing: border-box;
}

.pf-roadmap a {
  color: inherit;
  text-decoration: none;
}

.pf-roadmap-background {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.pf-roadmap-background-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
}

.pf-roadmap-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 62% 18%, rgba(255, 0, 190, 0.24), transparent 34%),
    radial-gradient(circle at 18% 72%, rgba(0, 229, 255, 0.15), transparent 35%),
    linear-gradient(90deg, rgba(3, 7, 19, 0.92) 0%, rgba(3, 7, 19, 0.62) 46%, rgba(3, 7, 19, 0.86) 100%),
    linear-gradient(180deg, rgba(3, 7, 19, 0.25) 0%, #030713 96%);
}

.pf-roadmap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
  pointer-events: none;
}

.pf-roadmap-container {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
}

/* =========================================================
   HERO
========================================================= */

.pf-roadmap-hero {
  position: relative;
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: center;
  margin-bottom: 34px;
}

.pf-roadmap-copy {
  max-width: 650px;
}

.pf-roadmap-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 219, 140, 0.78);
  border-radius: 999px;
  background: rgba(9, 12, 30, 0.72);
  box-shadow: 0 0 28px rgba(255, 0, 200, 0.12);
  color: #ffe5a6;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pf-roadmap-kicker-icon {
  filter: drop-shadow(0 0 8px rgba(255, 220, 120, 0.8));
}

.pf-roadmap-title {
  margin: 22px 0 18px;
  font-size: clamp(4rem, 10vw, 8.8rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  font-weight: 950;
  color: #f6f6f8;
  text-shadow:
    0 0 22px rgba(255, 255, 255, 0.16),
    0 18px 48px rgba(0, 0, 0, 0.7);
}

.pf-roadmap-title span {
  color: #d7b56c;
  background: linear-gradient(180deg, #fff3c3 0%, #d7b56c 43%, #9e7334 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Variante più neon del titolo ROADMAP.
   Se vuoi meno oro, sostituisci il blocco sopra con questo:

.pf-roadmap-title span {
  color: #ff4bd8;
  background: linear-gradient(180deg, #ffffff 0%, #ff67df 35%, #8d5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
*/

.pf-roadmap-subtitle {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.48;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.72);
}

/* =========================================================
   CURRENT PHASE CARD
========================================================= */

.pf-roadmap-phase-card {
  justify-self: end;
  width: min(100%, 420px);
  padding: 24px;
  border: 1px solid rgba(255, 64, 210, 0.45);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(14, 10, 34, 0.82), rgba(17, 11, 31, 0.68)),
    rgba(6, 9, 24, 0.72);
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 36px rgba(255, 0, 200, 0.16),
    inset 0 0 38px rgba(255, 255, 255, 0.03);
}

.pf-roadmap-phase-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pf-roadmap-live-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #39f5ff;
  box-shadow: 0 0 18px rgba(57, 245, 255, 1);
}

.pf-roadmap-phase-text {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.pf-roadmap-phase-text strong {
  color: #ff4bd8;
  font-weight: 800;
}

.pf-roadmap-phase-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pf-roadmap-phase-stat {
  min-height: 100px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px 8px;
  border: 1px solid rgba(139, 103, 255, 0.3);
  border-radius: 13px;
  background: rgba(8, 11, 30, 0.64);
}

.pf-roadmap-phase-icon {
  font-size: 1.75rem;
  filter: drop-shadow(0 0 10px rgba(255, 60, 210, 0.85));
}

.pf-roadmap-phase-stat small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pf-roadmap-phase-stat strong {
  margin-top: 2px;
  color: #ffffff;
  font-size: 0.86rem;
}

/* =========================================================
   LAYOUT BOARD + MOBILE PREVIEW
========================================================= */

.pf-roadmap-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: stretch;
}

.pf-roadmap-board {
  position: relative;
  padding: 28px 30px 32px;
  border: 1px solid rgba(132, 132, 255, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(186, 67, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(8, 11, 34, 0.78), rgba(4, 7, 18, 0.86));
  box-shadow:
    inset 0 0 60px rgba(255, 255, 255, 0.025),
    0 28px 80px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.pf-roadmap-board::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7b37ff;
  box-shadow: 0 0 18px rgba(123, 55, 255, 1);
}

.pf-roadmap-board-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
  color: #b993ff;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.pf-roadmap-arrows {
  display: flex;
  gap: 6px;
}

.pf-roadmap-arrows span {
  width: 14px;
  height: 14px;
  border-top: 3px solid rgba(151, 91, 255, 0.68);
  border-right: 3px solid rgba(151, 91, 255, 0.68);
  transform: rotate(45deg);
}

/* =========================================================
   TRACK
========================================================= */

.pf-roadmap-track {
  position: relative;
  height: 62px;
  margin: 0 24px 14px;
}

.pf-roadmap-track-line {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 28px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff42df, #32eaff, #8d5cff, #ff42df);
  box-shadow:
    0 0 18px rgba(255, 66, 223, 0.78),
    0 0 22px rgba(50, 234, 255, 0.5);
}

.pf-roadmap-step-dot {
  position: absolute;
  top: 0;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 69, 220, 0.9);
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), rgba(255, 40, 210, 0.22) 42%, rgba(7, 8, 26, 0.98) 72%);
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 950;
  box-shadow:
    0 0 18px rgba(255, 66, 223, 0.72),
    inset 0 0 18px rgba(255, 255, 255, 0.08);
}

.pf-roadmap-step-dot-1 { left: 8%; }
.pf-roadmap-step-dot-2 { left: 33%; border-color: rgba(49, 236, 255, 0.95); box-shadow: 0 0 20px rgba(49, 236, 255, 0.75); }
.pf-roadmap-step-dot-3 { left: 58%; border-color: rgba(170, 90, 255, 0.95); box-shadow: 0 0 20px rgba(170, 90, 255, 0.72); }
.pf-roadmap-step-dot-4 { left: 83%; }

.pf-roadmap-flag {
  position: absolute;
  right: 0;
  top: 5px;
  font-size: 2.6rem;
  filter: drop-shadow(0 0 18px rgba(255, 66, 223, 0.9));
}

/* =========================================================
   CARDS
========================================================= */

.pf-roadmap-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.pf-roadmap-card {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 65, 210, 0.28);
  background: rgba(5, 8, 24, 0.86);
  box-shadow:
    0 0 28px rgba(255, 0, 200, 0.11),
    inset 0 0 24px rgba(255, 255, 255, 0.03);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.pf-roadmap-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(255, 75, 216, 0.72);
  box-shadow:
    0 0 34px rgba(255, 0, 200, 0.26),
    0 18px 48px rgba(0, 0, 0, 0.5);
}

.pf-roadmap-card-link {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.pf-roadmap-card-media {
  position: relative;
  height: 165px;
  overflow: hidden;
}

.pf-roadmap-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 8, 24, 0.82) 100%),
    radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.36) 100%);
}

.pf-roadmap-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.pf-roadmap-card:hover .pf-roadmap-card-img {
  transform: scale(1.08);
  filter: saturate(1.18) contrast(1.08);
}

.pf-roadmap-card-body {
  position: relative;
  flex: 1;
  padding: 18px 18px 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(12, 14, 36, 0.72), rgba(5, 7, 22, 0.95));
}

.pf-roadmap-card-number {
  position: absolute;
  top: -152px;
  left: 14px;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 55, 210, 0.16);
  border: 1px solid rgba(255, 90, 220, 0.42);
  color: #ffffff;
  font-weight: 900;
}

.pf-roadmap-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 1.55vw, 1.65rem);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}

.pf-roadmap-card p {
  min-height: 58px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.4;
}

.pf-roadmap-card-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding: 10px 13px;
  border: 1px solid rgba(139, 103, 255, 0.26);
  border-radius: 9px;
  background: rgba(7, 9, 28, 0.72);
}

.pf-roadmap-card-status span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff59dd;
  box-shadow: 0 0 15px rgba(255, 89, 221, 0.9);
}

.pf-roadmap-card-status small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pf-roadmap-card-tools .pf-roadmap-card-status span {
  background: #39f5ff;
  box-shadow: 0 0 15px rgba(57, 245, 255, 0.9);
}

.pf-roadmap-card-worldcup .pf-roadmap-card-status span {
  background: #b45cff;
  box-shadow: 0 0 15px rgba(180, 92, 255, 0.9);
}

/* =========================================================
   CTA
========================================================= */

.pf-roadmap-bottom {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.pf-roadmap-main-cta {
  position: relative;
  min-width: min(560px, 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 19px 34px;
  border: 1px solid rgba(255, 219, 140, 0.66);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 65, 220, 0.22), rgba(137, 73, 255, 0.46), rgba(255, 65, 220, 0.22));
  box-shadow:
    0 0 24px rgba(255, 65, 220, 0.38),
    inset 0 0 24px rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pf-roadmap-main-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 38px rgba(255, 65, 220, 0.58),
    inset 0 0 32px rgba(255, 255, 255, 0.08);
}

/* =========================================================
   MOBILE PREVIEW DECORATIVA
========================================================= */

.pf-roadmap-mobile-preview {
  padding: 20px;
  border: 1px solid rgba(255, 65, 220, 0.42);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 65, 220, 0.16), transparent 48%),
    rgba(8, 10, 28, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 34px rgba(255, 0, 200, 0.13);
}

.pf-roadmap-mobile-head {
  text-align: center;
  margin-bottom: 18px;
  color: #b674ff;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pf-roadmap-phone {
  width: 170px;
  min-height: 340px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 34px;
  border: 2px solid rgba(255, 230, 170, 0.55);
  background: #070914;
  box-shadow:
    0 0 28px rgba(255, 65, 220, 0.28),
    inset 0 0 16px rgba(255, 255, 255, 0.06);
}

.pf-roadmap-phone-screen {
  min-height: 314px;
  padding: 18px 12px 12px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 0%, rgba(255, 65, 220, 0.32), transparent 38%),
    linear-gradient(180deg, #141633, #070916);
  overflow: hidden;
}

.pf-roadmap-phone-screen h3 {
  margin: 0 0 16px;
  font-size: 1.4rem;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.pf-roadmap-phone-screen h3 span {
  color: #d7b56c;
}

.pf-roadmap-phone-list {
  display: grid;
  gap: 8px;
}

.pf-roadmap-phone-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(139, 103, 255, 0.32);
  border-radius: 10px;
  background: rgba(5, 8, 24, 0.72);
}

.pf-roadmap-phone-item strong {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 65, 220, 0.18);
  color: #ffffff;
  font-size: 0.66rem;
}

.pf-roadmap-phone-item span {
  display: block;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
}

.pf-roadmap-phone-item small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.52rem;
  line-height: 1.2;
}

.pf-roadmap-phone-cta {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 8px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(139, 103, 255, 0.62), rgba(255, 65, 220, 0.58));
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pf-roadmap-mobile-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.pf-roadmap-mobile-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(139, 103, 255, 0.34);
}

.pf-roadmap-mobile-dots .is-active {
  background: #ff4bd8;
  box-shadow: 0 0 14px rgba(255, 75, 216, 0.9);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  .pf-roadmap-layout {
    grid-template-columns: 1fr;
  }

  .pf-roadmap-mobile-preview {
    display: none;
  }

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

  .pf-roadmap-hero {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .pf-roadmap-phase-card {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .pf-roadmap {
    padding: 70px 0 78px;
  }

  .pf-roadmap-container {
    width: min(100% - 28px, 640px);
  }

  .pf-roadmap-background-img {
    object-position: center top;
    opacity: 0.62;
  }

  .pf-roadmap-overlay {
    background:
      radial-gradient(circle at 55% 8%, rgba(255, 0, 190, 0.22), transparent 34%),
      linear-gradient(180deg, rgba(3, 7, 19, 0.6) 0%, rgba(3, 7, 19, 0.94) 52%, #030713 100%);
  }

  .pf-roadmap-hero {
    min-height: auto;
    gap: 26px;
    margin-bottom: 28px;
  }

  .pf-roadmap-kicker {
    padding: 9px 16px;
    font-size: 0.68rem;
    letter-spacing: 0.09em;
  }

  .pf-roadmap-title {
    margin-top: 18px;
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .pf-roadmap-subtitle {
    font-size: 0.98rem;
  }

  .pf-roadmap-phase-card {
    width: 100%;
    padding: 18px;
  }

  .pf-roadmap-phase-stats {
    gap: 10px;
  }

  .pf-roadmap-phase-stat {
    min-height: 88px;
    padding: 10px 6px;
  }

  .pf-roadmap-phase-icon {
    font-size: 1.35rem;
  }

  .pf-roadmap-phase-stat small {
    font-size: 0.58rem;
  }

  .pf-roadmap-phase-stat strong {
    font-size: 0.72rem;
  }

  .pf-roadmap-board {
    padding: 22px 16px 24px;
    border-radius: 20px;
  }

  .pf-roadmap-board-head {
    margin-bottom: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
  }

  .pf-roadmap-arrows span {
    width: 10px;
    height: 10px;
  }

  .pf-roadmap-track {
    display: none;
  }

  .pf-roadmap-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pf-roadmap-card,
  .pf-roadmap-card-link {
    min-height: auto;
  }

  .pf-roadmap-card-media {
    height: 175px;
  }

  .pf-roadmap-card-body {
    text-align: left;
    padding: 18px;
  }

  .pf-roadmap-card h3 {
    font-size: 1.45rem;
  }

  .pf-roadmap-card p {
    min-height: auto;
    font-size: 0.96rem;
  }

  .pf-roadmap-card-status {
    justify-content: flex-start;
  }

  .pf-roadmap-main-cta {
    min-width: 100%;
    padding: 16px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 420px) {
  .pf-roadmap-container {
    width: min(100% - 22px, 640px);
  }

  .pf-roadmap-title {
    font-size: 3.3rem;
  }

  .pf-roadmap-phase-stats {
    grid-template-columns: 1fr;
  }

  .pf-roadmap-phase-stat {
    min-height: 74px;
  }
}

/* =========================================================
   ROADMAP REFINEMENT 01
   - Sezione più compatta desktop
   - Rimozione spazio anteprima mobile
========================================================= */

/* La roadmap torna a tutta larghezza dopo aver tolto il mockup mobile */
.pf-roadmap-layout {
  grid-template-columns: 1fr;
  max-width: 1188px;
  margin: 0 auto;
}

/* Compatta l'altezza generale della sezione */
.pf-roadmap {
  padding: 56px 0 72px;
}

/* Contenitore leggermente più controllato */
.pf-roadmap-container {
  width: min(1360px, calc(100% - 48px));
}

/* Hero meno alta, così titolo e board entrano meglio nello schermo */
.pf-roadmap-hero {
  min-height: 285px;
  margin-bottom: 24px;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
}

/* Titolo più compatto */
.pf-roadmap-title {
  margin: 18px 0 14px;
  font-size: clamp(3.7rem, 7.8vw, 7.1rem);
  line-height: 0.82;
}

/* Testo meno ingombrante */
.pf-roadmap-subtitle {
  max-width: 610px;
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.42;
}

/* Badge più piccolo */
.pf-roadmap-kicker {
  padding: 8px 18px;
  font-size: 0.74rem;
}

/* Current Phase più compatta */
.pf-roadmap-phase-card {
  width: min(100%, 380px);
  padding: 18px;
  border-radius: 19px;
}

.pf-roadmap-phase-text {
  margin-bottom: 14px;
  font-size: 0.94rem;
}

.pf-roadmap-phase-stats {
  gap: 10px;
}

.pf-roadmap-phase-stat {
  min-height: 82px;
  padding: 10px 6px;
}

.pf-roadmap-phase-icon {
  font-size: 1.45rem;
}

.pf-roadmap-phase-stat small {
  font-size: 0.58rem;
}

.pf-roadmap-phase-stat strong {
  font-size: 0.76rem;
}

/* Board più compatta */
.pf-roadmap-board {
  padding: 22px 26px 26px;
  border-radius: 22px;
}

/* Header board meno alto */
.pf-roadmap-board-head {
  margin-bottom: 18px;
  font-size: 0.76rem;
}

/* Timeline più bassa */
.pf-roadmap-track {
  height: 52px;
  margin: 0 20px 10px;
}

.pf-roadmap-track-line {
  top: 24px;
}

.pf-roadmap-step-dot {
  width: 52px;
  height: 52px;
  font-size: 1.32rem;
}

.pf-roadmap-flag {
  top: 4px;
  font-size: 2.15rem;
}

/* Card leggermente più basse */
.pf-roadmap-cards {
  gap: 20px;
}

.pf-roadmap-card,
.pf-roadmap-card-link {
  min-height: 285px;
}

.pf-roadmap-card-media {
  height: 138px;
}

.pf-roadmap-card-body {
  padding: 16px 16px 16px;
}

.pf-roadmap-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.12rem, 1.35vw, 1.42rem);
}

.pf-roadmap-card p {
  min-height: 50px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  line-height: 1.32;
}

.pf-roadmap-card-status {
  padding: 8px 11px;
}

.pf-roadmap-card-status small {
  font-size: 0.62rem;
}

/* CTA più sottile */
.pf-roadmap-bottom {
  margin-top: 22px;
}

.pf-roadmap-main-cta {
  min-width: min(500px, 100%);
  padding: 16px 28px;
  font-size: 0.9rem;
}

/* Eliminiamo completamente il mockup mobile decorativo */
.pf-roadmap-mobile-preview {
  display: none !important;
}

/* Desktop medio: mantiene tutto ordinato */
@media (max-width: 1180px) {
  .pf-roadmap-layout {
    max-width: 100%;
  }

  .pf-roadmap-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pf-roadmap-phase-card {
    justify-self: start;
  }
}

/* Mobile: manteniamo la resa che già ti piaceva */
@media (max-width: 760px) {
  .pf-roadmap {
    padding: 70px 0 78px;
  }

  .pf-roadmap-hero {
    margin-bottom: 28px;
  }

  .pf-roadmap-title {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .pf-roadmap-board {
    padding: 22px 16px 24px;
  }

  .pf-roadmap-card-media {
    height: 175px;
  }

  .pf-roadmap-card,
  .pf-roadmap-card-link {
    min-height: auto;
  }
}

/* =========================================================
   ROADMAP REFINEMENT 02
   - Titolo desktop più piccolo
   - ROADMAP blu neon
   - Fix clipping lettere
========================================================= */

@media (min-width: 761px) {
  .pf-roadmap-title {
    margin: 16px 0 14px;
    font-size: clamp(3.2rem, 6.3vw, 5.8rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
    overflow: visible;
  }

  .pf-roadmap-title span {
    background: linear-gradient(180deg, #dff8ff 0%, #53d8ff 35%, #1ea7ff 68%, #006bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
      0 0 18px rgba(83, 216, 255, 0.35),
      0 0 32px rgba(0, 107, 255, 0.22);
  }

  .pf-roadmap-copy {
    padding-top: 6px;
  }
}

/* =========================================================
   ROADMAP REFINEMENT 03
   - Allineamento larghezza con le sezioni precedenti
   - Titolo più contenuto
   - Board meno larga e più premium
========================================================= */

@media (min-width: 1181px) {
  .pf-roadmap-container {
    width: min(1216px, calc(100% - 64px));
  }

  .pf-roadmap-hero {
    grid-template-columns: minmax(0, 1fr) 360px;
    min-height: 260px;
    gap: 32px;
  }

  .pf-roadmap-copy {
    max-width: 620px;
    overflow: visible;
  }

  .pf-roadmap-title {
    font-size: clamp(3rem, 5.4vw, 5.05rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
    margin: 16px 0 14px;
    max-width: 620px;
    overflow: visible;
  }

  .pf-roadmap-subtitle {
    max-width: 570px;
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .pf-roadmap-phase-card {
    width: 360px;
  }

  .pf-roadmap-layout {
    max-width: 100%;
  }

  .pf-roadmap-board {
    max-width: 100%;
    padding: 22px 28px 26px;
  }

  .pf-roadmap-cards {
    gap: 18px;
  }

  .pf-roadmap-card,
  .pf-roadmap-card-link {
    min-height: 272px;
  }

  .pf-roadmap-card-media {
    height: 128px;
  }

  .pf-roadmap-card h3 {
    font-size: 1.22rem;
  }

  .pf-roadmap-card p {
    font-size: 0.86rem;
    line-height: 1.32;
  }

  .pf-roadmap-main-cta {
    min-width: 460px;
  }
}
/* Blu neon definitivo per ROADMAP */
@media (min-width: 761px) {
  .pf-roadmap-title span {
    background: linear-gradient(
      180deg,
      #ecfbff 0%,
      #61e6ff 30%,
      #1ba7ff 62%,
      #245bff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
      0 0 14px rgba(97, 230, 255, 0.32),
      0 0 28px rgba(36, 91, 255, 0.28);
  }
}
