/* ScoutYou — pagina Come funziona */
.how-page {
  min-height: 100vh;
  color: #f8fbff;
  background:
    radial-gradient(circle at 8% 4%, rgba(22, 215, 197, 0.18), transparent 27rem),
    radial-gradient(circle at 93% 5%, rgba(200, 255, 47, 0.1), transparent 24rem),
    linear-gradient(180deg, #020610, #07111f 48%, #081827);
}

.how-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 34px));
  margin: 0 auto;
  padding: 16px 0 72px;
}

.how-topbar {
  position: sticky;
  top: 10px;
  z-index: 50;
}

.how-main {
  display: grid;
  gap: 28px;
}

.how-hero,
.how-section,
.how-cta {
  overflow: hidden;
  border: 1px solid rgba(22, 215, 197, 0.2);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(18, 42, 62, 0.94), rgba(5, 16, 28, 0.98));
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.38);
}

.how-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  min-height: 520px;
  padding: clamp(34px, 6vw, 72px);
  background:
    radial-gradient(circle at 84% 18%, rgba(22, 215, 197, 0.26), transparent 18rem),
    radial-gradient(circle at 9% 90%, rgba(200, 255, 47, 0.12), transparent 20rem),
    linear-gradient(145deg, #030914, #0a2235 62%, #06413f);
}

.how-hero::after {
  content: "GOAL";
  position: absolute;
  right: -12px;
  bottom: -38px;
  color: rgba(255, 255, 255, 0.035);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(100px, 18vw, 240px);
  font-style: italic;
  line-height: 0.8;
  pointer-events: none;
}

.how-hero-copy,
.how-hero-visual {
  position: relative;
  z-index: 1;
}

.how-kicker {
  display: inline-flex;
  padding: 8px 12px;
  color: #06110c;
  border-radius: 999px;
  background: linear-gradient(110deg, #c8ff2f, #16d7c5);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.how-hero h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(54px, 7.5vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.how-hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #c8ff2f, #16d7c5);
  background-clip: text;
  -webkit-background-clip: text;
}

.how-hero-copy > p {
  max-width: 720px;
  color: #c4d4e2;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.how-hero-actions,
.how-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}

.how-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  color: #06110c;
  border: 1px solid rgba(200, 255, 47, 0.55);
  border-radius: 999px;
  background: linear-gradient(110deg, #c8ff2f, #16d7c5);
  box-shadow: 0 15px 38px rgba(22, 215, 197, 0.2);
  text-decoration: none;
  font-weight: 950;
}

.how-button.secondary {
  color: #e8f7fb;
  border-color: rgba(22, 215, 197, 0.28);
  background: rgba(22, 215, 197, 0.08);
  box-shadow: none;
}

.how-hero-visual {
  display: grid;
  place-items: center;
}

.how-phone {
  width: min(100%, 360px);
  padding: 16px;
  border: 1px solid rgba(200, 255, 47, 0.38);
  border-radius: 38px;
  background: #020812;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), 0 0 45px rgba(22, 215, 197, 0.12);
  transform: rotate(3deg);
}

.how-phone-screen {
  display: grid;
  gap: 12px;
  min-height: 430px;
  padding: 20px;
  border-radius: 27px;
  background:
    radial-gradient(circle at 90% 5%, rgba(22, 215, 197, 0.22), transparent 11rem),
    linear-gradient(180deg, #081827, #0b2435);
}

.how-phone-brand {
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.how-phone-brand span {
  color: #16d7c5;
}

.how-mini-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(22, 215, 197, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.how-mini-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  color: #06110c;
  background: linear-gradient(135deg, #c8ff2f, #16d7c5);
  font-size: 24px;
}

.how-mini-card strong {
  display: block;
  color: #fff;
}

.how-mini-card small {
  display: block;
  margin-top: 4px;
  color: #91a8ba;
}

.how-mini-action {
  color: #06110c;
  font-weight: 950;
}

.how-goal-banner {
  margin-top: auto;
  padding: 15px;
  color: #06110c;
  border-radius: 18px;
  background: linear-gradient(110deg, #c8ff2f, #16d7c5);
  text-align: center;
  font-weight: 950;
}

.how-section {
  padding: clamp(28px, 5vw, 58px);
}

.how-section-head {
  max-width: 800px;
  margin-bottom: 28px;
}

.how-section-head h2,
.how-cta h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.how-section-head p,
.how-cta p {
  color: #9fb4c7;
  font-size: 17px;
  line-height: 1.65;
}

.how-role-switch {
  position: relative;
}

.how-role-switch > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.how-role-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 580px;
  margin-bottom: 24px;
  padding: 7px;
  border: 1px solid rgba(22, 215, 197, 0.18);
  border-radius: 999px;
  background: rgba(2, 11, 20, 0.7);
}

.how-role-tabs label {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 10px 14px;
  color: #9fb4c7;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 950;
}

#how-player:checked ~ .how-role-tabs label[for="how-player"],
#how-club:checked ~ .how-role-tabs label[for="how-club"] {
  color: #06110c;
  background: linear-gradient(110deg, #c8ff2f, #16d7c5);
}

.how-track {
  display: none;
}

#how-player:checked ~ .how-tracks .how-track.player,
#how-club:checked ~ .how-tracks .how-track.club {
  display: block;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.how-step {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(22, 215, 197, 0.16);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(15, 43, 60, 0.88), rgba(5, 18, 30, 0.96));
}

.how-step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #06110c;
  border-radius: 14px;
  background: linear-gradient(135deg, #c8ff2f, #16d7c5);
  font-weight: 950;
}

.how-step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.how-step p {
  margin: 0;
  color: #91a8ba;
  line-height: 1.55;
}

.how-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.how-feature {
  padding: 24px;
  border: 1px solid rgba(22, 215, 197, 0.16);
  border-radius: 22px;
  background: rgba(7, 24, 37, 0.78);
}

.how-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(22, 215, 197, 0.11);
  font-size: 23px;
}

.how-feature h3 {
  margin: 0 0 9px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
}

.how-feature p {
  margin: 0;
  color: #91a8ba;
  line-height: 1.55;
}

.how-distance-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(200, 255, 47, 0.3);
  border-radius: 22px;
  background: linear-gradient(110deg, rgba(200, 255, 47, 0.09), rgba(22, 215, 197, 0.06));
}

.how-distance-note > span {
  font-size: 28px;
}

.how-distance-note strong {
  display: block;
  margin-bottom: 7px;
  color: #c8ff2f;
}

.how-distance-note p {
  margin: 0;
  color: #b2c5d3;
  line-height: 1.6;
}

.how-faq {
  display: grid;
  gap: 10px;
}

.how-faq details {
  border: 1px solid rgba(22, 215, 197, 0.15);
  border-radius: 18px;
  background: rgba(7, 24, 37, 0.72);
}

.how-faq summary {
  padding: 18px 20px;
  color: #f3fbff;
  cursor: pointer;
  font-weight: 900;
}

.how-faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: #91a8ba;
  line-height: 1.6;
}

.how-cta {
  padding: clamp(34px, 6vw, 68px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(200, 255, 47, 0.16), transparent 25rem),
    linear-gradient(145deg, #071827, #063d3c);
}

.how-cta p {
  max-width: 720px;
  margin: 0 auto;
}

.how-final-actions {
  justify-content: center;
}

.how-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 4px 0;
  color: #73899d;
  font-size: 13px;
}

.how-footer a {
  color: #16d7c5;
  text-decoration: none;
  font-weight: 850;
}

@media (max-width: 960px) {
  .how-hero {
    grid-template-columns: 1fr;
  }

  .how-hero-visual {
    display: none;
  }

  .how-steps,
  .how-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .how-shell {
    width: min(100% - 16px, 680px);
    padding-top: 8px;
  }

  .how-topbar {
    top: 7px;
  }

  .how-hero,
  .how-section,
  .how-cta {
    border-radius: 25px;
  }

  .how-hero {
    min-height: auto;
    padding: 30px 22px;
  }

  .how-hero h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .how-role-tabs {
    max-width: none;
  }

  .how-steps,
  .how-feature-grid {
    grid-template-columns: 1fr;
  }

  .how-step {
    min-height: auto;
  }

  .how-distance-note {
    grid-template-columns: 1fr;
  }

  .how-hero-actions,
  .how-final-actions {
    display: grid;
  }

  .how-footer {
    flex-direction: column;
  }
}
