html {
  scroll-behavior: smooth;
}

body {
    font-family:'Inter',sans-serif;
    font-weight:400;
}

section {
  padding: 70px 0;
}


h1 { font-size: clamp(2.35rem, 3.5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.5rem, 1.35vw, 3.6rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.175rem); }
h5 { font-size: clamp(1rem, 1.5vw, 1.1rem); }
h6 { font-size: clamp(0.9rem, 1.5vw, 1rem); }
p { font-size: clamp(0.9rem, 1.5vw, 1rem);}
a {
  text-decoration: none;
  color: inherit;
}


.hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
}
   

/* Occupa esclusivamente tutta la hero */
#windows-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}


.hero .row {
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero {
   background:
        radial-gradient(circle at top left, #1b3764 0%, transparent 40%),
        linear-gradient(135deg, #050b18, #091a31);
    height: 800px;
    
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: white;

  padding: 120px 20px;
   position: relative;
  overflow: hidden;
}

/* FORM DEMO */
.demo-form-wrapper{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.demo-form-wrapper.active{
    display:flex;
}

   
.demo-form-content{
     width: min(700px, 90vw);
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    padding: 30px;
    border-radius: 2px;
    position: relative;
}

.close-btn{
    color: #ff6500;
    background: transparent;
    border: none;
    position:absolute;
    top:2px;
    right:2px;
}
/* NAVBAR */


.top-bar {
    width:100%;
    background:#111827;
    overflow:hidden;
}

.container-fluid {
    border-bottom: 2px solid #ff6600;
    justify-content: center !important;
    background-color: #13426c;
    min-height:65px;
    display:flex;
    align-items:center;
}
.custom-navbar {
  display:flex;
  flex-direction:column;
  background: transparent;
  padding: 0;
  z-index: 1000;
  transition: 0.4s ease;
}

.custom-navbar .navbar-brand {
  color: white;
  font-size: 1.5rem;
   
  left: 0;
  padding:25px;
}

.custom-navbar .nav-link {
  color: rgba(255,255,255);
 
  margin-left: 20px;
  transition: 0.3s;
}

.custom-navbar .nav-link:hover {
  color: white;
}

.custom-navbar.scrolled .navbar-brand, .custom-navbar.scrolled .navbar-collapse {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}

/* CTA sempre visibile */

.custom-navbar .navbar-brand, .custom-navbar .navbar-collapse {
  transition: 0.4s ease;
}

/* bottone */

.nav-item:hover {
  transform: scale(1.1);
}
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-center {
  gap: 35px;
}

.about-text {
  
  line-height: 1.5;
}


.about-title {
    margin-bottom: 15px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 3vw, 2.7rem);
    color: #111827;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
  


    .footer-top {
      margin-bottom:30px;
    }
    .f-logo {
      font-family:'Syne',sans-serif;
      font-weight:800;
      font-size:1.2rem;
      color:#fff;
      margin-bottom:10px;
      text-shadow:0px 0px 4px #572b0c;
    }
    .f-logo span {
      color:#f97316
    }
    .f-col h5 {
      font-size: 0.9rem;
      margin-bottom: 14px;
    
    }
    .f-col a, h6 {
      display:block;
      font-size:0.9rem;
      color:rgba(255,255,255,0.4);
      text-decoration:none;
      margin-bottom:9px;
      transition:color .2s
    }
    .f-col a:hover {
      color:#fff
    }

 /*FOOTER*/
.footer {
  background: #13426c;
  color: rgba(255,255,255,0.85);
  padding: 30px 30px 5px 30px;
  border-top: 2px solid #ff6600;
}

.footer h5 {
  color: white;
  font-weight: 700;
}


.footer-bottom {
  opacity: 0.55;
  font-size: 0.9rem;
}

.agid-logo img {
    max-width: 120px;
    height: auto;
}

.footer-certifications {
    margin-top: 20px;
}

.footer-certifications img {
    max-width: 80px;
    height: auto;
}

.agid-logo {
    margin-bottom: 10px;
}

.agid-logo img {
    max-width: 120px;
    height: auto;
}

.iso-logos {
    display: flex;
    gap: 10px;
    align-items: center;
}

.iso-logos img {
    height: 40px;
    width: auto;
}


/* MOBILE */

   @media (max-width: 991px) {

    .section-divider {
      margin: 10px auto !important;
    }
    .custom-navbar {
    background: #0b164beb;
    backdrop-filter: blur(12px);
    
  }

  .navbar-collapse {
    position: fixed;
    left: -280px;
    width: 280px;
    height: 100vh;

    margin-top: 0;
    padding: 24px 24px 24px 24px;

    background: #13416a;
    border-radius: 0;
    box-shadow: -20px 0 50px rgba(0,0,0,0.35);

    display: block !important;
    transition: left 0.35s ease;
    z-index: 2000;
  }

  .navbar-collapse.show {
    left: 0;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 10px;
  }

  .custom-navbar .nav-link {
    color: white !important;
    font-weight: 700;
    padding: 14px 16px;
    border-radius: 12px;
    margin-left: 0;
  }

  .custom-navbar .nav-link:hover {
    background: #fff7ed;
    color: #f97316 !important;
  }

  .navbar-toggler {
    position: relative;
    z-index: 3000;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgb(255 255 255 / 32%);
  }

  .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }
  
}

@media (max-width: 768px) {  
    
    .footer-toggle {
        width: 100%;
        background: transparent;
        border: 0;
        color: inherit;
        font-weight: 600;
        padding: 14px 0;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255,255,255,0.2);
      }

/* ruota la freccetta quando apriamo menu footer*/
.footer-toggle[aria-expanded="true"] span {
    transform: rotate(-90deg);
}

.footer-toggle span {
    transition: transform .3s ease;
  }

}

/* formattazione bottoni*/
.btn-demo {
  font-family: system-ui;
  font-weight: 600;
  box-shadow: 0px 1px 9px 0px #281202a1;
  background-color: #ff6600;
  color: white;
}
.btn-demo:hover {
  background-color: #f97316;
  color: white;
}
.btn-info {
  border:1px solid #0071b6;
   box-shadow: 0px 1px 9px 0px #281202a1;
  background-color: #009eff;
  color: white;
}
.btn-info:hover {
   box-shadow: 0px 1px 9px 0px #281202a1;
  color: white;
}

.feat-pill {
    display: inline-block;
    font-size: 1rem;
  
    background: #08bbda17;
    padding: 3px 9px;
    border-radius: 4px;
    text-align: center;
}

/* CARD + ICON */
.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 14px;
  background: rgba(0,158,255,.1);
  color: #009eff;
  font-size: 1.65rem;
}

.fixed-card {
  padding: 30px 26px;
  text-align: left;
  align-content: initial;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 12px 35px rgba(28,91,173,.06);
}

.fixed-card p {
  flex:1;
}

/* Lista vantaggi scorrevole */
/*scorri lista*/

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.lista-vantaggi {
    font-size: 1rem;
    border-top: 2px solid rgb(28, 91, 173);
    border-bottom: 2px solid rgb(28, 91, 173);
    background: #f8f9fa;
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}
.scorri-lista {
  display: inline-flex;
  animation: tickerMove 80s linear infinite;
}
    
.ticker-item {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:rgb(30 43 109);
  padding:0 32px;
   }
.ticker-item span {
  color:rgb(39, 51, 114);
    }

     .check-list{
      display:flex;
      flex-direction:column;
      gap:12px
    }
    .check-item{
      display:flex;
     
      gap:11px;
      font-size:0.9rem; 
      color: #797c82;}
    .check-dot{  
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f97316;
    border: 1px solid #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    flex-shrink: 0;
    }
    
   .check-panel {
  padding: 34px;
  border: 1px solid rgba(28,91,173,.18);
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fbff, #fff);
  box-shadow: 0 18px 55px rgba(28,91,173,.09);
}


    

    

    /* Carosello Loghi Aziende */
#loghiCarousel .carousel-inner {
    border-bottom: 5px solid #f97316;
    border-top: 5px solid #f97316;
}
#loghiCarousel .carousel-item{
  height: 100px;
}
#loghiCarousel .row {
    height: 100%;
    display: flex;
    align-items: center;
}

#loghiCarousel img{
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
}


 /* Carosello Frasi Hero */

#storyCarousel .carousel-indicators button {
    width: 15px;
    height: 8px;
    background: #d1d5db;
    border: none;
    border-radius: 100px;
}

#storyCarousel .carousel-indicators .active {
    background: #009eff;
}

#storyCarousel .carousel-indicators {
    position: static;
    margin-top: 30px;
    margin-bottom: 0;
}

#storyCarousel .carousel-item {
min-height: 260px;
transition: opacity 1s ease-in-out !important;
}

#storyCarousel .carousel-item h2,
#storyCarousel .carousel-item h4 {
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}

.titolo-hero{
    color: #ff6600;
    font-weight: 700;
}



 .card{
      color: aliceblue;
      background-color: transparent;
    }

p {
  color:#797c82;
}

.section-divider{
    width: 15px;
    height: 8px;
    background: #f97416;
    border-radius: 100px;
    margin: 70px auto;
   
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #009eff;
}


.card-funzionalita{
    position:relative;
    overflow:hidden;

    min-height:200px;
    text-align:left;
    align-content:center;

    background:#ffffff;
    border:2px solid #f97316;
    border-radius:12px;

    transition:
        transform .35s cubic-bezier(.22,1,.36,1),
        box-shadow .35s ease,
        border-color .35s ease,
        color .35s ease;
}

/* Riempimento arancione progressivo */
.card-funzionalita::after{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        135deg,
        #ff6600 0%,
        #f97316 55%,
        #ff9c57 100%
    );

    transform:scaleX(0);
    transform-origin:left center;

    transition:transform .65s cubic-bezier(.22,1,.36,1);

    z-index:0;
    pointer-events:none;
}

/* Scia luminosa */
.card-funzionalita::before{
    content:"";
    position:absolute;
    top:-20%;
    left:-75%;

    width:45%;
    height:140%;

    background:linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,.12) 25%,
        rgba(255,255,255,.75) 50%,
        rgba(255,255,255,.12) 75%,
        transparent 100%
    );

    transform:skewX(-33deg);
    transition:left .9s cubic-bezier(.22,1,.36,1);

    z-index:1;
    pointer-events:none;
}

/* Contenuto sopra gli effetti */
.card-funzionalita > *{
    position:relative;
    z-index:2;
}

/* Titolo */
.card-funzionalita h4{
    color:#f97316;
    font-weight: 900;
    transition:
        color .35s ease,
        transform .35s cubic-bezier(.22,1,.36,1);
}

/* Testo */
.card-funzionalita p{
    color:#797c82;
    transition:color .35s ease;
}

/* Icona */
.card-funzionalita .feature-icon{
    background:rgba(249,115,22,.12);
    color:#f97316;

    transition:
        background-color .35s ease,
        color .35s ease,
        transform .35s cubic-bezier(.22,1,.36,1),
        box-shadow .35s ease;
}

/* Badge */
.card-funzionalita .feat-pill{
    color:#f97316;
    background:#fff7ed;

    transition:
        background-color .35s ease,
        color .35s ease,
        transform .35s ease;
}

/* Hover card */
.card-funzionalita:hover{
    transform:translateY(-8px);
    border-color:#ff6600;

    box-shadow:
        0 20px 45px rgba(249,115,22,.22),
        0 8px 18px rgba(255,102,0,.14);
}

/* Riempimento completo */
.card-funzionalita:hover::after{
    transform:scaleX(1);
}

/* Movimento della scia */
.card-funzionalita:hover::before{
    left:135%;
}

/* Testi bianchi */
.card-funzionalita:hover h4,
.card-funzionalita:hover p{
    color:#ffffff;
}

/* Movimento titolo */
.card-funzionalita:hover h3{
    transform:translateY(-2px);
}

/* Icona bianca con simbolo arancione */
.card-funzionalita:hover .feature-icon{
    background:#ffffff;
    color:#f97316;

    transform:translateY(-3px) scale(1.06);

    box-shadow:
        0 10px 25px rgba(87,43,12,.18);
}

/* Badge chiaro */
.card-funzionalita:hover .feat-pill{
    color:#f97316;
    background:#ffffff;

    transform:translateY(-2px);
}

/* Matrix */


.matrix-column {
  overflow: hidden;
  border: 1px solid rgba(17,24,39,.1);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(17,24,39,.06);
}
.matrix-heading {
  padding: 10px 15px;
  font-weight: 800;
}
.included-column .matrix-heading { color: #13426c; background: rgba(0,158,255,.1); }
.optional-column .matrix-heading { color: #f97316; background: rgba(249,115,22,.1); }
.matrix-item {
  display: flex;
  gap: 10px;
  padding: 18px 20px;
  border-top: 1px solid rgba(17,24,39,.075);
}
.matrix-item > i { font-size: 1.45rem; flex: 0 0 28px; text-align:center }
.included-column .matrix-item > i { color: #13426c; }
.optional-column .matrix-item > i { color: #f97316; }
.matrix-item h3 { font-size: 1.15rem; font-weight: 700; color: #111827; margin-bottom: 5px; }
.matrix-item p { margin: 0;  line-height: 1.55; }


/* Risk */
.risk-panel {
  padding: clamp(34px, 6vw, 72px);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #071329, #12385f 62%, #155e93);
  box-shadow: 0 24px 70px rgba(7,19,41,.22);
}
.risk-panel h2 {  font-weight: 700; line-height: 1.22; }
.risk-panel h2 strong { color: #f97316; }
.risk-panel p { color: rgba(255,255,255,.78); font-size: 1rem; }
.risk-icon { display: inline-flex; justify-content: center; place-items: center; width: 50px; height: 50px; border-radius: 16px; margin-bottom: 15px;margin-right: 10px; background: rgba(255,255,255,.1); color: #f97316; font-size: 1.8rem; }
.light-label { color: #f97316; }
.risk-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.risk-badges span { padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.08);  }
.risk-badges i { color: #f97316; font-size: 16px;}

.lang-flag {
    color: white;
}

.lang-selector {
    color: #fff;
    background: transparent;
    border: 0;
    font-weight: 500;
    padding: 6px 8px;
}

.lang-selector:hover,
.lang-selector:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lang-selector::after {
    margin-left: 6px;
}

.dropdown-menu {
    min-width: 40px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 8px 14px;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
}