/* AI4Trening V23.00 — Final Frontpage QA + Simplification
   Removes legacy repetition from the visual flow while preserving content in source. */

/* New premium sections now replace older repeated blocks. */
#disipliner,
#hvordan,
#hvorfor{
  display:none!important;
}

/* Shorter, calmer pacing after V16–V22. */
.fx17,.fx18,.fx19,.fx20,.fx21{
  padding-top:64px!important;
  padding-bottom:64px!important;
}
.fx17-head,.fx18-head,.fx19-head,.fx20-head,.fx21-head{
  margin-bottom:24px!important;
}
.fx18-proof-strip,
.fx20-trust-grid,
.fx21-mobile-proof{
  margin-top:0!important;
}

/* Reduce copy density without changing semantic content. */
.fx17-head p,.fx18-head p,.fx19-head p,.fx20-head p,.fx21-head p{
  max-width:60ch!important;
}
.fx20-trust-card p,
.fx21-proof-copy p,
.fx18-goal p,
.fx19-step p{
  line-height:1.48!important;
}

/* Final CTA emphasis: only one dominant action in the closing area. */
main>section:last-of-type .cta{
  margin-top:2px;
  border-color:rgba(183,255,0,.18)!important;
  background:
    radial-gradient(82% 130% at 100% 0,rgba(183,255,0,.14),transparent 66%),
    linear-gradient(145deg,#142118,#07100a)!important;
}
main>section:last-of-type .cta .btn-primary{
  min-height:58px!important;
  padding-inline:22px!important;
}

/* Keep price section calm after the long story. */
#pakker{padding-top:68px!important}
#pakker .section-head{max-width:650px!important}
#pakker .pricing{gap:12px!important}
#pakker .price{padding:24px!important}

/* Reduce visual weight of secondary plan cards. */
#pakker .price:not(.featured):not(:first-child){
  box-shadow:0 14px 36px rgba(0,0,0,.16)!important;
}
#pakker .price:first-child{
  border-color:rgba(183,255,0,.20)!important;
  background:
    radial-gradient(95% 75% at 100% 0,rgba(183,255,0,.08),transparent 68%),
    linear-gradient(145deg,#122017,#07100a)!important;
}

/* Mobile: fewer long-scroll penalties and simpler card spacing. */
@media(max-width:640px){
  .fx17,.fx18,.fx19,.fx20,.fx21{
    padding-top:46px!important;
    padding-bottom:46px!important;
  }
  .fx17-head,.fx18-head,.fx19-head,.fx20-head,.fx21-head{
    margin-bottom:20px!important;
  }
  .fx18-proof-strip{gap:8px!important}
  .fx20-trust-grid{gap:10px!important}
  #pakker{padding-top:50px!important}
  #pakker .pricing{gap:10px!important}
  #pakker .price{padding:20px!important}
}

/* Preserve anchor behavior after legacy sections are hidden. */
#opplev-ai4,#visual-proof-ai4,#story-ai4,#trygghet-ai4,#pakker{
  scroll-margin-top:84px;
}
