/* ======================================================================
   TAVROS AI — style.css (UNICO FILE, SEZIONATO PER PAGINE)
   Regola d’oro:
   - CSS globale: senza prefissi pagina
   - CSS pagina-specifico: sempre con body.<pagina>-page davanti
   Esempio: body.home-page .hero { ... }
====================================================================== */


/* ======================================================================
   0) TOKENS / VARIABILI GLOBALI
====================================================================== */
:root{
  --bg:#d8cdcd;

  --silver:rgba(255,255,255,.72);
  --white:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.62);

  --dark-blue:#290d8d;
  --light-blue:#62b8e9;

  --container:1200px;
  --header-h:80px;

  --pad-x:clamp(16px, 4vw, 60px);
  --section-y:clamp(90px, 10vw, 160px);

  --r-sm:12px;
  --r-md:20px;
  --r-lg:30px;

  --glass:rgba(205, 206, 207, 0.795);
  --glass-2:rgba(255, 255, 255, 0.685);
  --glass-border:rgba(211, 214, 216, 0.781);
}


/* ======================================================================
   1) RESET + BASE
====================================================================== */
*{ margin:0; padding:0; box-sizing:border-box; }

html{
  background:var(--bg);
  height:100%;
  scroll-behavior:smooth;
}

body{
  min-height:100%;
  background:var(--bg);
  font-family:"Inter", sans-serif;
  color:var(--silver);
  overflow-x:hidden;
  position:relative;
}

img, video{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
::selection{ background:rgba(98,184,233,.25); color:#fff; }

.container{
  width:min(var(--container), calc(100% - (var(--pad-x) * 2)));
  margin:0 auto;
}


/* ======================================================================
   2) CURSORE CUSTOM (GLOBAL)
   - attivo solo su desktop reali
   - disattivato in modo forzato su touch/mobile
====================================================================== */

/* default: cursore normale */
html,
body,
body *{
  cursor:auto;
}

/* attiva il cursore custom SOLO su dispositivi desktop */
@media (hover:hover) and (pointer:fine){
  html,
  body,
  body *{
    cursor:none;
  }

  .custom-cursor{
    display:block;
    position:fixed;
    top:0;
    left:0;
    width:50px;
    height:50px;
    pointer-events:none;
    z-index:9999;
    transform:translate(-50%, -50%);
    transition:transform .2s ease;
  }

  .cursor-svg{
    width:100%;
    height:100%;
    fill:rgba(255,255,255,.75);
    filter:
      drop-shadow(0 0 10px rgba(98,184,233,.55))
      drop-shadow(0 0 22px rgba(98,184,233,.35));
  }
}

/* su mobile/tablet touch: forzatamente nascosto */
@media (hover:none), (pointer:coarse){
  .custom-cursor{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
  }

  html,
  body,
  body *{
    cursor:auto !important;
  }
}

html.touch-device .custom-cursor,
body.touch-device .custom-cursor{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
}

html.touch-device,
html.touch-device body,
html.touch-device body *{
  cursor:auto !important;
}


/* ======================================================================
   3) BACKGROUND VIDEO + LAYERING (GLOBAL)
   - video sempre dietro
   - contenuto sempre sopra
====================================================================== */
.video-background{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
}

.video-background video{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.45);
}

.video-background .overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  transition:background .35s ease;
}

/* IMPORTANT: tutto il contenuto deve stare sopra */
.site-content,
main,
header,
footer{
  position:relative;
  z-index:1;
}


/* ======================================================================
   4) HEADER + NAV (GLOBAL)
====================================================================== */
.header{
  position:sticky;
  top:0;
  width:100%;
  z-index:100;

  background:rgba(85, 85, 85, 0.55);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);

  border-bottom:1px solid rgba(98,184,233,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 30px rgba(98,184,233,0.10);

  transition:background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.header .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:var(--header-h);
  position:relative;
}

/* logo */
.logo{
  position:relative;
  display:flex;
  align-items:center;
  height:100%;
}

.logo img{
  position:relative;
  z-index:2;
  height:150px;
  width:auto;
  filter:drop-shadow(0 0 10px rgba(98,184,233,.45));
}

.logo-aura{
  position:absolute;
  z-index:1;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:190px;
  height:190px;
  background:rgba(98,184,233,.55);
  filter:blur(90px);
  border-radius:50%;
  opacity:.75;
  pointer-events:none;
}

/* nav */
.nav-links{
  display:flex;
  align-items:center;
  gap:26px;
}

.nav-links a{
  color:rgba(255,255,255,.82);
  text-decoration:none;
  font-weight:500;
  transition:color .2s ease, opacity .2s ease;
  opacity:.9;
}

.nav-links a:hover{
  color:var(--light-blue);
  opacity:1;
}

/* hamburger */
.menu-toggle{
  display:none;
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
  border:0;
  outline:none;
  box-shadow:none;

  width:48px;
  height:48px;
  padding:0;

  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;

  border-radius:12px;
  -webkit-tap-highlight-color:transparent;

  position:relative;
  z-index:1001;
}

.menu-toggle span{
  display:block;
  width:26px;
  height:3px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  box-shadow:0 0 10px rgba(98,184,233,.18);
  transition:transform .22s ease, opacity .22s ease, background .22s ease;
}

.menu-toggle:hover span{
  background:var(--light-blue);
}

.menu-toggle:focus-visible{
  outline:2px solid rgba(98,184,233,.9);
  outline-offset:4px;
}

/* RESPONSIVE — HEADER + NAV */
@media (max-width: 980px){
  .header .container{
    gap:16px;
  }

  .logo img{
    height:120px;
  }

  .nav-links{
    gap:18px;
  }
}

@media (max-width: 768px){
  :root{
    --header-h:72px;
  }

  .header .container{
    height:var(--header-h);
  }

  .logo img{
    height:92px;
  }

  .logo-aura{
    width:120px;
    height:120px;
    filter:blur(55px);
  }

  .menu-toggle{
    display:flex;
    flex:0 0 48px;
  }

  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    z-index:998;

    background:rgba(0,0,0,.82);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;

    padding:18px 20px;

    border-bottom-left-radius:18px;
    border-bottom-right-radius:18px;

    border-bottom:1px solid rgba(98,184,233,.20);
    box-shadow:0 14px 40px rgba(0,0,0,.45);

    opacity:0;
    transform:translateY(-10px);
    pointer-events:none;

    transition:opacity 220ms ease, transform 260ms ease;
  }

  .nav-links.open{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }

  .header .btn-primary{
    display:none;
  }
}


/* ======================================================================
   5) BUTTONS (GLOBAL)
====================================================================== */
.btn-outline,
.btn-primary,
.btn-secondary,
.btn-ghost,
button{
  font-family:inherit;
  border:none;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  transition:
    transform .18s ease,
    box-shadow .22s ease,
    background .22s ease,
    color .22s ease,
    border-color .22s ease,
    opacity .22s ease;
}

.btn-outline:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible,
button:focus-visible{
  outline:2px solid rgba(98,184,233,.9);
  outline-offset:4px;
}

.btn-outline:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
button:hover{
  transform:translateY(-1px);
}

.btn-outline{
  background:transparent;
  color:rgba(255,255,255,.85);
  border:1px solid rgba(98,184,233,.55);
  padding:10px 20px;
  border-radius:999px;
}

.btn-outline:hover{
  box-shadow:0 0 26px rgba(98,184,233,.16);
  border-color:rgba(98,184,233,.75);
}

.btn-primary{
  background:var(--light-blue);
  color:var(--dark-blue);
  padding:14px 22px;
  border-radius:999px;
  box-shadow:0 0 24px rgba(98,184,233,.18);
}

.btn-primary:hover{
  box-shadow:0 0 34px rgba(98,184,233,.28);
}

.btn-secondary{
  background:rgba(41,13,141,.55);
  color:rgba(255,255,255,.90);
  padding:14px 22px;
  border-radius:999px;
  border:1px solid rgba(98,184,233,.35);
}

.btn-secondary:hover{
  box-shadow:0 0 30px rgba(98,184,233,.18);
}

.btn-ghost{
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.88);
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.btn-ghost:hover{
  border-color:rgba(98,184,233,.35);
  box-shadow:0 0 26px rgba(98,184,233,.12);
}

/* CTA in header: trasparente */
.header .btn-primary{
  background:transparent;
  color:var(--light-blue);
  border:1px solid rgba(98,184,233,.65);
  padding:10px 18px;
  box-shadow:none;
}

.header .btn-primary:hover{
  background:rgba(98,184,233,.12);
  box-shadow:0 0 26px rgba(98,184,233,.16);
}


/* ======================================================================
   6) FOOTER (GLOBAL)
====================================================================== */
.site-footer{
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-top:1px solid rgba(98,184,233,.18);
  box-shadow: inset 0 0 30px rgba(98,184,233,.10);

  color:rgba(255,255,255,.75);
  padding:18px var(--pad-x);
  position:relative;
  z-index:2;
}

.footer-container{
  width:min(var(--container), calc(100% - (var(--pad-x) * 2)));
  margin:0 auto;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.footer-left,.footer-center,.footer-right{ display:flex; align-items:center; }
.footer-center{ justify-content:center; text-align:center; flex:1; }

.footer-copy{
  margin:0;
  font-size:14px;
  line-height:1.4;
  color:rgba(255,255,255,.72);
}

.footer-socials{ display:flex; gap:18px; }

.social-icon{
  width:22px;
  height:22px;
  fill:rgba(255,255,255,.75);
  transition:transform .2s ease, filter .2s ease, fill .2s ease;
  filter:drop-shadow(0 0 10px rgba(98,184,233,.25));
}

.footer-socials a:hover .social-icon{
  fill:var(--light-blue);
  transform:scale(1.12);
  filter:
    drop-shadow(0 0 12px rgba(98,184,233,.55))
    drop-shadow(0 0 22px rgba(98,184,233,.35));
}


/* RESPONSIVE — FOOTER */
@media (max-width: 768px){
  .footer-container{
    flex-direction:column;
    gap:14px;
    text-align:center;
  }

  .footer-left,
  .footer-center,
  .footer-right{
    justify-content:center;
    width:100%;
  }

  .footer-socials{
    justify-content:center;
  }

  .footer-copy{
    font-size:13px;
  }
}





/* ======================================================================
   7) COMPONENTI RIUTILIZZABILI (GLOBAL)
====================================================================== */
.tavros-divider{
  height:1px;
  width:min(1200px, calc(100% - (var(--pad-x) * 2)));
  margin:0 auto;
  background:linear-gradient(to right, transparent, rgba(98,184,233,.24), transparent);
  box-shadow:0 0 18px rgba(98,184,233,.12);
  opacity:.95;
}

/* CONTACT (riutilizzato su più pagine -> globale) */
.contact-section{
  padding:var(--section-y) 0;
  position:relative;
  z-index:1;
}

.contact-container{ max-width:var(--container); margin:auto; }

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(30px, 6vw, 80px);
  align-items:center;
}

.contact-info h2{
  font-size:clamp(28px, 4.8vw, 52px);
  color:var(--light-blue);
  margin-bottom:18px;
  text-shadow:0 0 20px rgba(98,184,233,.12);
}

.contact-subtitle{
  font-size:clamp(15px, 1.8vw, 20px);
  margin-bottom:26px;
  line-height:1.75;
  color:rgba(255,255,255,.72);
}

.contact-highlights{
  display:flex;
  flex-direction:column;
  gap:12px;
  font-size:15px;
  color:rgba(255,255,255,.70);
}

.contact-card{
  background:rgba(255,255,255,.03);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  border-radius:var(--r-lg);
  border:1px solid rgba(98,184,233,.18);
  padding:clamp(26px, 4vw, 60px);
  box-shadow: inset 0 0 34px rgba(98,184,233,.08), 0 18px 60px rgba(0,0,0,.35);
  transition:box-shadow .25s ease, border-color .25s ease;
}

.contact-card:hover{
  border-color:rgba(98,184,233,.28);
  box-shadow: inset 0 0 40px rgba(98,184,233,.10), 0 22px 70px rgba(0,0,0,.40);
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.form-row{ display:flex; gap:16px; }

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:16px 18px;
  border-radius:14px;
  border:1px solid rgba(98,184,233,.22);
  background:rgba(255,255,255,.04);
  color:#fff;
  font-family:inherit;
  font-size:16px;
  resize:none;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:rgba(98,184,233,.75);
  box-shadow:0 0 26px rgba(98,184,233,.18);
  background:rgba(255,255,255,.06);
}

.contact-btn{ width:100%; padding:16px; font-size:16px; font-weight:700; }

/* RESPONSIVE — CONTACT */
@media (max-width: 980px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .contact-section{
    padding:80px 0;
  }

  .contact-card{
    padding:22px 18px;
    border-radius:22px;
  }

  .form-row{
    flex-direction:column;
    gap:14px;
  }

  .contact-form input,
  .contact-form textarea{
    font-size:16px;
  }
}




/* ======================================================================
   7.1) REVEAL (GLOBAL) — SAFE FALLBACK
   Se NON hai lo script che aggiunge .is-visible -> NON sparisce niente.
====================================================================== */
.reveal{
  opacity:1;               /* <-- non sparisce */
  transform:none;
}

/* Se vuoi usare reveal, aggiungi class .has-reveal al body via JS
   oppure direttamente nell'HTML: <body class="home-page has-reveal"> */
body.has-reveal .reveal{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .7s ease, transform .7s ease;
}
body.has-reveal .reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* ======================================================================
   8) HOME PAGE (body.home-page)
====================================================================== */
body.home-page .hero{
  text-align:center;
  padding:140px 0 90px;
}

body.home-page .hero h1{
  font-size:clamp(34px, 5vw, 58px);
  font-weight:800;
  color:var(--light-blue);
  text-shadow:0 0 24px rgba(98,184,233,.18);
}

body.home-page .hero h1 span{ color:rgba(255,255,255,.88); }

body.home-page .hero p{
  margin-top:18px;
  font-size:clamp(16px, 2vw, 20px);
  color:rgba(255,255,255,.72);
  line-height:1.6;
}

body.home-page .hero-buttons{
  margin-top:28px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

/* FEATURES */
body.home-page .features{
  display:flex;
  justify-content:center;
  gap:22px;
  padding:80px 0;
  flex-wrap:wrap;
}

body.home-page .feature-card{
  background:rgba(255,255,255,.03);
  padding:30px 26px;
  border-radius:var(--r-md);
  width:240px;
  text-align:center;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1px solid rgba(98,184,233,.18);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  color:rgba(255,255,255,.78);
}

body.home-page .feature-card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 34px rgba(98,184,233,.14);
  border-color:rgba(98,184,233,.28);
}

/* LIQUID STRIP STATS */
body.home-page .liquid-strip{
  width:100%;
  padding:30px 0 60px;
}

body.home-page .liquid-track{
  width:min(1000px, calc(100% - (var(--pad-x) * 2)));
  padding:42px 44px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  background:rgba(255,255,255,.03);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  border-radius:var(--r-lg);
  border:1px solid rgba(98,184,233,.18);
  box-shadow: inset 0 0 36px rgba(98,184,233,.08), 0 18px 60px rgba(0,0,0,.35);
}

body.home-page .stat-item{ text-align:center; flex:1; }

body.home-page .stat-number{
  font-size:40px;
  font-weight:900;
  color:var(--light-blue);
  text-shadow:0 0 18px rgba(98,184,233,.22);
}

body.home-page .stat-label{
  margin-top:10px;
  font-size:15px;
  color:rgba(255,255,255,.70);
}

/* PRICING */
body.home-page .pricing{
  padding:120px 0;
  text-align:center;
}

body.home-page .pricing-container{ max-width:var(--container); margin:auto; }

body.home-page .pricing h2{
  font-size:clamp(28px, 4.2vw, 46px);
  color:var(--light-blue);
  margin-bottom:14px;
}

body.home-page .pricing-subtitle{
  max-width:720px;
  margin:0 auto 60px;
  font-size:clamp(15px, 1.9vw, 20px);
  line-height:1.7;
  color:rgba(255,255,255,.70);
}

body.home-page .pricing-cards{
  display:flex;
  justify-content:center;
  gap:clamp(20px, 6vw, 120px);
  flex-wrap:wrap;
  align-items:stretch;
}

body.home-page .pricing-card{
  position:relative;
  width:min(520px, 100%);
  padding:44px 34px;
  border-radius:25px;
  background:rgba(255,255,255,.03);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  border:1px solid rgba(98,184,233,.18);
  box-shadow: inset 0 0 32px rgba(98,184,233,.07), 0 18px 60px rgba(0,0,0,.35);
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

body.home-page .pricing-card:hover{
  transform:translateY(-6px);
  box-shadow: inset 0 0 32px rgba(98,184,233,.10), 0 24px 80px rgba(0,0,0,.45);
  border-color:rgba(98,184,233,.30);
}

body.home-page .pricing-card h3{
  font-size:24px;
  margin-bottom:10px;
  color:rgba(255,255,255,.90);
}

body.home-page .price{
  font-size:32px;
  font-weight:900;
  margin-bottom:22px;
  color:var(--light-blue);
}

body.home-page .pricing-card ul{
  list-style:none;
  margin:18px 0 24px;
  display:grid;
  gap:10px;
}

body.home-page .pricing-card ul li{
  font-size:15px;
  color:rgba(255,255,255,.72);
}

body.home-page .product-image{ display:flex; justify-content:center; margin:18px 0 22px; }

body.home-page .product-image img{
  width:100%;
  max-width:320px;
  filter:drop-shadow(0 0 26px rgba(98,184,233,.18));
}

body.home-page .badge{
  position:absolute;
  top:-14px;
  right:-14px;
  background:var(--light-blue);
  color:var(--dark-blue);
  font-weight:900;
  padding:8px 14px;
  border-radius:12px;
  font-size:12px;
  box-shadow:0 0 20px rgba(98,184,233,.22);
}

/* HOME — AUTOMATION STORIES (tua sezione) */
.automation-panel[hidden]{ display:none !important; }

body.home-page .automation-stories{
  padding:120px 0;
  position:relative;
  z-index:1;
}

body.home-page .automation-stories-head{
  text-align:center;
  max-width:980px;
  margin:0 auto 34px;
}

body.home-page .automation-stories-head h2{
  font-size:clamp(30px, 4.6vw, 58px);
  font-weight:800;
  color:rgba(255,255,255,.92);
  text-shadow:0 0 20px rgba(98,184,233,.14);
}

body.home-page .automation-accent{
  color:var(--light-blue);
  font-style:italic;
}

body.home-page .automation-tabs{
  margin-top:18px;
  display:inline-flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  padding:10px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(98,184,233,.14);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

body.home-page .automation-tab{
  border:1px solid rgba(98,184,233,.16);
  background:rgba(0,0,0,.20);
  color:rgba(255,255,255,.72);
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
}

body.home-page .automation-tab.is-active{
  background:rgba(98,184,233,.14);
  border-color:rgba(98,184,233,.35);
  color:rgba(255,255,255,.92);
  box-shadow:0 0 26px rgba(98,184,233,.12);
}

body.home-page .automation-panel-wrap{
  width:min(1120px, calc(100% - (var(--pad-x) * 0)));
  margin:0 auto;
}

body.home-page .automation-panel{
  display:none;
  border-radius:28px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(98,184,233,.16);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  box-shadow: inset 0 0 40px rgba(98,184,233,.08), 0 18px 70px rgba(0,0,0,.40);
  overflow:hidden;
}

body.home-page .automation-panel.is-active{ display:block; }

body.home-page .automation-panel-grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  min-height:520px;
}

body.home-page .automation-panel-left{ padding:44px; }
body.home-page .automation-panel-right{
  padding:44px;
  border-left:1px solid rgba(98,184,233,.12);
  background:rgba(0,0,0,.18);
}

body.home-page .automation-brandline{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}

body.home-page .automation-dot{
  width:10px; height:10px; border-radius:999px;
  background:var(--light-blue);
  box-shadow:0 0 16px rgba(98,184,233,.45);
}

body.home-page .automation-kicker{
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.70);
}

body.home-page .automation-panel-left h3{
  font-size:clamp(22px, 3.2vw, 36px);
  color:rgba(255,255,255,.92);
}

body.home-page .automation-label{
  display:inline-block;
  margin-top:16px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
  padding-bottom:8px;
  border-bottom:1px solid rgba(98,184,233,.16);
}

body.home-page .automation-block p{
  margin-top:10px;
  color:rgba(255,255,255,.72);
  line-height:1.85;
  font-size:16px;
}

body.home-page .automation-points{
  margin-top:14px;
  list-style:none;
  padding:0;
  display:grid;
  gap:10px;
}

body.home-page .automation-points li{
  position:relative;
  padding-left:18px;
  color:rgba(255,255,255,.72);
  line-height:1.7;
}

body.home-page .automation-points li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:7px;
  height:7px;
  border-radius:999px;
  background:var(--light-blue);
  box-shadow:0 0 14px rgba(98,184,233,.35);
}

body.home-page .automation-actions{
  margin-top:20px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

body.home-page .automation-metric{
  padding:18px 0;
  border-bottom:1px solid rgba(98,184,233,.12);
}

body.home-page .automation-metric:last-of-type{ border-bottom:none; }

body.home-page .automation-metric-value{
  font-size:clamp(34px, 5vw, 56px);
  font-weight:900;
  color:rgba(255,255,255,.95);
  text-shadow:0 0 18px rgba(98,184,233,.14);
}

body.home-page .automation-metric-label{
  margin-top:6px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
}

















/* ======================================================================
   8) HOME PAGE (body.home-page) — V2 (isolata, senza dipendenze)
   - NON tocca altre pagine
   - Header + Footer restano globali
====================================================================== */

/* Se avevi regole home vecchie: DEVONO essere rimosse/commentate (Step 2) */

/* HERO premium */
body.home-page .hero--premium{
  padding:140px 0 70px;
}

body.home-page .hero--premium .container{
  max-width:1100px;
  text-align:center; /* se vuoi enterprise: left */
}

body.home-page .hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(98,184,233,.14);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  color:rgba(255,255,255,.78);
  font-weight:800;
  font-size:13px;
  letter-spacing:.02em;
}

body.home-page .hero-badge-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--light-blue);
  box-shadow:0 0 18px rgba(98,184,233,.45);
}

body.home-page .hero--premium h1{
  margin-top:18px;
  font-size:clamp(34px, 5vw, 60px);
  font-weight:900;
  line-height:1.06;
  color:rgba(255,255,255,.94);
  text-shadow:0 0 26px rgba(98,184,233,.10);
  letter-spacing:-.02em;
}

body.home-page .hero--premium h1 span{
  color:var(--light-blue);
}

body.home-page .hero-lead{
  margin:16px auto 0;
  max-width:780px;
  font-size:clamp(15px, 2vw, 19px);
  line-height:1.85;
  color:rgba(255,255,255,.74);
}

body.home-page .hero-buttons{
  margin-top:26px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* trust row */
body.home-page .hero-trust{
  margin:34px auto 0;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  max-width:860px;
}

body.home-page .trust-item{
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

body.home-page .trust-kpi{
  font-weight:900;
  font-size:22px;
  color:rgba(255,255,255,.92);
}

body.home-page .trust-label{
  margin-top:6px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.56);
}

/* FEATURES (griglia) */
body.home-page .features{
  padding:70px 0 30px;
}

body.home-page .features-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

body.home-page .feature-card{
  text-align:left;
  padding:26px 24px;
  border-radius:22px;
  background:rgba(255,255,255,.028);
  border:1px solid rgba(98,184,233,.14);
  box-shadow: inset 0 0 30px rgba(98,184,233,.06), 0 18px 60px rgba(0,0,0,.35);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  width:auto;                 /* IMPORTANT: neutralizza width vecchi */
}

body.home-page .feature-card:hover{
  transform:translateY(-4px);
  border-color:rgba(98,184,233,.26);
  box-shadow: inset 0 0 34px rgba(98,184,233,.08), 0 22px 70px rgba(0,0,0,.40);
}

body.home-page .feature-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

body.home-page .feature-card h3{
  margin:0;
  font-size:16px;
  font-weight:900;
  color:rgba(255,255,255,.90);
}

body.home-page .feature-card p{
  margin-top:12px;
  line-height:1.75;
  font-size:14.5px;
  color:rgba(255,255,255,.72);
}

body.home-page .feature-meta{
  margin-top:14px;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.06);
}

/* SECTION HEAD */
body.home-page .section-head{
  padding:80px 0 10px;
}

body.home-page .section-head h2{
  font-size:clamp(26px, 4vw, 44px);
  margin:0;
  color:rgba(255,255,255,.92);
  text-shadow:0 0 18px rgba(98,184,233,.10);
}

body.home-page .section-head h2 span{
  color:var(--light-blue);
}

body.home-page .section-head p{
  margin-top:14px;
  max-width:900px;
  line-height:1.85;
  color:rgba(255,255,255,.72);
  font-size:16px;
}

/* STATS STRIP */
body.home-page .liquid-strip{ padding:26px 0 10px; }

body.home-page .liquid-track{
  width:min(1000px, calc(100% - (var(--pad-x) * 2)));
  padding:42px 44px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  background:rgba(255,255,255,.028);
  border-radius:var(--r-lg);
  border:1px solid rgba(255,255,255,.07);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  box-shadow: inset 0 0 36px rgba(98,184,233,.08), 0 18px 60px rgba(0,0,0,.35);
}

body.home-page .stat-item{ text-align:center; flex:1; }

body.home-page .stat-number{
  font-size:40px;
  font-weight:900;
  color:rgba(255,255,255,.92);
  text-shadow:0 0 18px rgba(98,184,233,.14);
}

body.home-page .stat-label{
  margin-top:10px;
  font-size:15px;
  color:rgba(255,255,255,.70);
}

/* DIVIDER */
body.home-page .tavros-divider{
  width:min(980px, calc(100% - 40px));
  height:1px;
  margin:70px auto;
  background:linear-gradient(90deg, transparent, rgba(98,184,233,.22), rgba(255,255,255,.12), rgba(98,184,233,.22), transparent);
  opacity:.9;
}

/* AUTOMATION */
body.home-page .automation-panel[hidden]{ display:none !important; }

body.home-page .automation-stories{ padding:120px 0; }

body.home-page .automation-stories-head{
  text-align:center;
  max-width:980px;
  margin:0 auto 34px;
}

body.home-page .automation-stories-head h2{
  font-size:clamp(30px, 4.6vw, 58px);
  font-weight:900;
  color:rgba(255,255,255,.92);
  text-shadow:0 0 20px rgba(98,184,233,.14);
}

body.home-page .automation-accent{ color:var(--light-blue); font-style:italic; }

body.home-page .automation-sub{
  margin-top:14px;
  color:rgba(255,255,255,.72);
  line-height:1.85;
  font-size:16px;
}

body.home-page .automation-tabs{
  margin-top:18px;
  display:inline-flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  padding:10px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(98,184,233,.14);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

body.home-page .automation-tab{
  border:1px solid rgba(98,184,233,.16);
  background:rgba(0,0,0,.20);
  color:rgba(255,255,255,.72);
  padding:10px 16px;
  border-radius:999px;
  font-weight:800;
}

body.home-page .automation-tab.is-active{
  background:rgba(98,184,233,.14);
  border-color:rgba(98,184,233,.35);
  color:rgba(255,255,255,.92);
  box-shadow:0 0 26px rgba(98,184,233,.12);
}

body.home-page .automation-panel-wrap{
  width:min(1120px, calc(100% - (var(--pad-x) * 0)));
  margin:0 auto;
}

body.home-page .automation-panel{
  display:none;
  border-radius:28px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(98,184,233,.16);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  box-shadow: inset 0 0 40px rgba(98,184,233,.08), 0 18px 70px rgba(0,0,0,.40);
  overflow:hidden;
}

body.home-page .automation-panel.is-active{ display:block; }

body.home-page .automation-panel-grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  min-height:520px;
}

body.home-page .automation-panel-left{ padding:44px; }

body.home-page .automation-panel-right{
  padding:44px;
  border-left:1px solid rgba(98,184,233,.12);
  background:rgba(0,0,0,.18);
}

body.home-page .automation-brandline{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}

body.home-page .automation-dot{
  width:10px; height:10px; border-radius:999px;
  background:var(--light-blue);
  box-shadow:0 0 16px rgba(98,184,233,.45);
}

body.home-page .automation-kicker{
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.70);
}

body.home-page .automation-panel-left h3{
  font-size:clamp(22px, 3.2vw, 36px);
  color:rgba(255,255,255,.92);
}

body.home-page .automation-label{
  display:inline-block;
  margin-top:16px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
  padding-bottom:8px;
  border-bottom:1px solid rgba(98,184,233,.16);
}

body.home-page .automation-block p{
  margin-top:10px;
  color:rgba(255,255,255,.72);
  line-height:1.85;
  font-size:16px;
}

body.home-page .automation-points{
  margin-top:14px;
  list-style:none;
  padding:0;
  display:grid;
  gap:10px;
}

body.home-page .automation-points li{
  position:relative;
  padding-left:18px;
  color:rgba(255,255,255,.72);
  line-height:1.7;
}

body.home-page .automation-points li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:7px;
  height:7px;
  border-radius:999px;
  background:var(--light-blue);
  box-shadow:0 0 14px rgba(98,184,233,.35);
}

body.home-page .automation-actions{
  margin-top:20px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

body.home-page .automation-metric{
  padding:18px 0;
  border-bottom:1px solid rgba(98,184,233,.12);
}

body.home-page .automation-metric:last-of-type{ border-bottom:none; }

body.home-page .automation-metric-value{
  font-size:clamp(34px, 5vw, 56px);
  font-weight:900;
  color:rgba(255,255,255,.95);
  text-shadow:0 0 18px rgba(98,184,233,.14);
}

body.home-page .automation-metric-label{
  margin-top:6px;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
}

/* PRICING (solo spacing: pricing card è già globale? qui lo teniamo isolato) */
body.home-page .pricing{ padding:120px 0; text-align:center; }

body.home-page .pricing h2{
  font-size:clamp(28px, 4.2vw, 46px);
  color:rgba(255,255,255,.92);
  margin-bottom:14px;
}

body.home-page .pricing-subtitle{
  max-width:720px;
  margin:0 auto 60px;
  font-size:clamp(15px, 1.9vw, 20px);
  line-height:1.7;
  color:rgba(255,255,255,.70);
}

/* RESPONSIVE — HOME PAGE */
@media (max-width: 980px){
  body.home-page .hero-trust{
    grid-template-columns:1fr;
  }

  body.home-page .features-grid{
    grid-template-columns:1fr;
  }

  body.home-page .automation-panel-grid{
    grid-template-columns:1fr;
    min-height:auto;
  }

  body.home-page .automation-panel-right{
    border-left:none;
    border-top:1px solid rgba(98,184,233,.12);
  }

  body.home-page .pricing-cards{
    gap:24px;
  }
}

@media (max-width: 768px){
  body.home-page .hero--premium{
    padding:110px 0 56px;
  }

  body.home-page .hero--premium .container{
    text-align:center;
  }

  body.home-page .hero-lead{
    font-size:15px;
    line-height:1.75;
  }

  body.home-page .hero-buttons{
    flex-direction:column;
    width:100%;
    max-width:360px;
    margin:26px auto 0;
  }

  body.home-page .hero-buttons .btn-primary,
  body.home-page .hero-buttons .btn-outline,
  body.home-page .hero-buttons .btn-secondary,
  body.home-page .hero-buttons .btn-ghost{
    width:100%;
  }

  body.home-page .section-head{
    padding:60px 0 10px;
  }

  body.home-page .section-head p{
    font-size:15px;
    line-height:1.75;
  }

  body.home-page .liquid-track{
    flex-direction:column;
    gap:22px;
    padding:28px 20px;
  }

  body.home-page .stat-number{
    font-size:34px;
  }

  body.home-page .automation-tabs{
    display:flex;
    width:100%;
    border-radius:22px;
    padding:10px;
  }

  body.home-page .automation-tab{
    width:100%;
    justify-content:center;
    text-align:center;
  }

  body.home-page .automation-panel-left,
  body.home-page .automation-panel-right{
    padding:22px 18px;
  }

  body.home-page .automation-actions{
    flex-direction:column;
  }

  body.home-page .automation-actions .btn-primary,
  body.home-page .automation-actions .btn-outline,
  body.home-page .automation-actions .btn-secondary,
  body.home-page .automation-actions .btn-ghost{
    width:100%;
  }

  body.home-page .pricing{
    padding:90px 0;
  }

  body.home-page .pricing-card{
    padding:28px 20px;
  }

  body.home-page .badge{
    position:static;
    display:inline-block;
    margin-bottom:14px;
  }
}










/* ======================================================================
   9) MODULO AI / MODULO TAVROS (body.modulo-page)
====================================================================== */
body.modulo-page .site-content{
  padding-top:40px; /* header già sticky, non serve 120 */
}

body.modulo-page .modulo-hero{
  padding:140px 0 70px;
}

body.modulo-page .modulo-hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:48px;
  align-items:start;
}

body.modulo-page .modulo-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.70);
  padding:8px 0;
  border-bottom:1px solid rgba(98,184,233,.18);
}

body.modulo-page .modulo-hero h1{
  margin-top:18px;
  font-size:clamp(38px, 5.4vw, 64px);
  line-height:1.05;
  color:rgba(255,255,255,.94);
  text-shadow:0 0 22px rgba(98,184,233,.14);
}

body.modulo-page .modulo-hero h1 span{
  color:var(--light-blue);
  text-shadow:0 0 26px rgba(98,184,233,.18);
}

body.modulo-page .modulo-lead{
  margin-top:16px;
  font-size:clamp(16px, 2vw, 20px);
  line-height:1.75;
  color:rgba(255,255,255,.72);
  max-width:64ch;
}

body.modulo-page .modulo-hero-cta{
  margin-top:22px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

body.modulo-page .modulo-hero-trust{
  margin-top:24px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  max-width:720px;
}

body.modulo-page .trust-item{
  border-radius:16px;
  padding:14px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(98,184,233,.12);
  box-shadow: inset 0 0 24px rgba(98,184,233,.06);
}

body.modulo-page .trust-title{
  display:block;
  font-weight:900;
  color:rgba(255,255,255,.92);
  font-size:13px;
}

body.modulo-page .trust-sub{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.64);
  font-size:12px;
}

body.modulo-page .hero-glass-card{
  border-radius:22px;
  padding:22px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(98,184,233,.18);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow: inset 0 0 28px rgba(98,184,233,.08), 0 20px 60px rgba(0,0,0,.35);
  position:sticky;
  top:calc(var(--header-h) + 18px);
}

body.modulo-page .hero-card-title{
  margin:0 0 12px;
  font-weight:900;
  letter-spacing:.04em;
  color:rgba(255,255,255,.92);
}

body.modulo-page .hero-checklist{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

body.modulo-page .hero-checklist li{
  position:relative;
  padding-left:18px;
  color:rgba(255,255,255,.72);
  line-height:1.7;
  font-size:14px;
}

body.modulo-page .hero-checklist li::before{
  content:"";
  position:absolute;
  left:0;
  top:.7em;
  width:7px;
  height:7px;
  border-radius:999px;
  background:var(--light-blue);
  box-shadow:0 0 14px rgba(98,184,233,.35);
}

body.modulo-page .hero-mini-note{
  margin-top:14px;
  color:rgba(255,255,255,.62);
  font-size:13px;
  line-height:1.7;
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:14px;
}

/* sections */
body.modulo-page .modulo-details,
body.modulo-page .modulo-usecases,
body.modulo-page .modulo-implementation{
  padding:90px 0;
}

body.modulo-page .modulo-section-head{
  max-width:980px;
  margin-bottom:26px;
}

body.modulo-page .modulo-section-head h2{
  font-size:clamp(26px, 3.4vw, 42px);
  margin:0 0 12px;
  color:rgba(255,255,255,.94);
  text-shadow:0 0 18px rgba(98,184,233,.12);
}

body.modulo-page .modulo-section-head p{
  margin:0;
  color:rgba(255,255,255,.70);
  line-height:1.8;
  font-size:16px;
  max-width:80ch;
}

body.modulo-page .modulo-split{
  margin-top:28px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:34px;
  align-items:start;
}

body.modulo-page .modulo-copyblock h3{
  margin:0 0 10px;
  font-size:22px;
  color:rgba(255,255,255,.92);
}

body.modulo-page .modulo-copyblock p{
  margin:0 0 14px;
  color:rgba(255,255,255,.70);
  line-height:1.85;
  font-size:16px;
}

body.modulo-page .modulo-kpis{
  margin-top:16px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 22px;
}

body.modulo-page .modulo-kpi{
  border-left:2px solid rgba(98,184,233,.26);
  padding-left:14px;
}

body.modulo-page .modulo-kpi dt{
  font-size:26px;
  font-weight:900;
  color:var(--light-blue);
  text-shadow:0 0 18px rgba(98,184,233,.22);
  line-height:1.1;
}

body.modulo-page .modulo-kpi dd{
  margin:6px 0 0;
  color:rgba(255,255,255,.68);
  font-size:13px;
  line-height:1.55;
}

body.modulo-page .modulo-media video{
  width:100%;
  max-width:560px;
  border-radius:20px;
  border:1px solid rgba(98,184,233,.18);
  box-shadow:0 18px 60px rgba(0,0,0,.40);
}

body.modulo-page .modulo-media-caption{
  margin-top:10px;
  font-size:13px;
  color:rgba(255,255,255,.58);
}

/* feature grid */
body.modulo-page .modulo-feature-grid{
  margin-top:26px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:18px;
}

body.modulo-page .modulo-card{
  padding:24px;
  border-radius:22px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(98,184,233,.14);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  box-shadow: inset 0 0 26px rgba(98,184,233,.06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

body.modulo-page .modulo-card:hover{
  transform: translateY(-3px);
  border-color: rgba(98,184,233,.28);
  box-shadow: inset 0 0 28px rgba(98,184,233,.10), 0 18px 60px rgba(0,0,0,.30);
}

body.modulo-page .modulo-tag{
  display:inline-block;
  font-size:11px;
  font-weight:900;
  letter-spacing:.10em;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(98,184,233,.12);
  border:1px solid rgba(98,184,233,.22);
  color: var(--light-blue);
}

body.modulo-page .modulo-card h4{
  margin:12px 0 8px;
  font-size:18px;
  color: rgba(255,255,255,.92);
}

body.modulo-page .modulo-card p{
  margin:0;
  color: rgba(255,255,255,.68);
  line-height:1.8;
  font-size:15px;
}

/* usecases */
body.modulo-page .usecase-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:16px;
}

body.modulo-page .usecase{
  padding:22px;
  border-radius:20px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 0 22px rgba(98,184,233,.05);
}

body.modulo-page .usecase h3{
  margin:0 0 8px;
  color:rgba(255,255,255,.92);
  font-size:17px;
}

body.modulo-page .usecase p{
  margin:0;
  color:rgba(255,255,255,.68);
  line-height:1.8;
  font-size:15px;
}

body.modulo-page .modulo-note{
  margin-top:18px;
  padding:16px 18px;
  border-radius:16px;
  background: rgba(98,184,233,.06);
  border:1px solid rgba(98,184,233,.16);
  color: rgba(255,255,255,.72);
  line-height:1.8;
}

/* steps */
body.modulo-page .modulo-steps{
  margin-top:18px;
  list-style:none;
  padding:0;
  display:grid;
  gap:12px;
}

body.modulo-page .step{
  display:grid;
  grid-template-columns: 64px 1fr;
  gap:14px;
  align-items:start;
  padding:18px;
  border-radius:20px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
}

body.modulo-page .step-n{
  font-weight:900;
  color:var(--light-blue);
  text-shadow:0 0 16px rgba(98,184,233,.22);
  font-size:18px;
  line-height:1;
  padding-top:4px;
}

body.modulo-page .step-b h3{
  margin:0 0 6px;
  color:rgba(255,255,255,.92);
  font-size:16px;
}

body.modulo-page .step-b p{
  margin:0;
  color:rgba(255,255,255,.68);
  line-height:1.8;
  font-size:15px;
}

/* CTA banner */
body.modulo-page .modulo-cta-banner{
  margin-top:18px;
  border-radius:22px;
  padding:22px;
  background: linear-gradient(180deg, rgba(98,184,233,.10), rgba(255,255,255,.03));
  border:1px solid rgba(98,184,233,.18);
  box-shadow: inset 0 0 26px rgba(98,184,233,.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

body.modulo-page .modulo-cta-banner h3{
  margin:0 0 6px;
  color:rgba(255,255,255,.94);
  font-size:18px;
}

body.modulo-page .modulo-cta-banner p{
  margin:0;
  color:rgba(255,255,255,.70);
  line-height:1.8;
  max-width:72ch;
}

body.modulo-page .cta-right{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* =========================================================
   USE CASES (nuovo layout: tipografia + separatori)
========================================================= */
body.modulo-page .usecase-grid{ display:none; } /* disattiva vecchia griglia */

body.modulo-page .usecases-layout{
  margin-top:22px;
  display:grid;
  grid-template-columns: .85fr 1.15fr;
  gap:22px;
  align-items:start;
}

body.modulo-page .usecases-aside-inner{
  border-radius:22px;
  padding:22px;
  background: linear-gradient(180deg, rgba(98,184,233,.08), rgba(255,255,255,.02));
  border:1px solid rgba(98,184,233,.16);
  box-shadow: inset 0 0 24px rgba(98,184,233,.06);
}

body.modulo-page .usecases-aside-inner h3{
  margin:0 0 8px;
  color:rgba(255,255,255,.94);
  font-size:16px;
  letter-spacing:.02em;
}

body.modulo-page .usecases-aside-inner p{
  margin:0;
  color:rgba(255,255,255,.70);
  line-height:1.85;
  font-size:15px;
}

body.modulo-page .usecases-pill-row{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

body.modulo-page .usecases-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.80);
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

body.modulo-page .usecases-list{
  border-radius:22px;
  background: rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}

body.modulo-page .usecase-row{
  padding:18px 20px;
  background: transparent;
  border-top:1px solid rgba(255,255,255,.08);
}

body.modulo-page .usecase-row:first-child{
  border-top:none;
}

body.modulo-page .usecase-title{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
}

body.modulo-page .usecase-row h3{
  margin:0;
  color:rgba(255,255,255,.94);
  font-size:16px;
}

body.modulo-page .usecase-meta{
  font-size:12px;
  color:rgba(255,255,255,.58);
  letter-spacing:.08em;
  text-transform:uppercase;
}

body.modulo-page .usecase-row p{
  margin:8px 0 0;
  color:rgba(255,255,255,.70);
  line-height:1.85;
  font-size:15px;
}

/* Nota vecchia non più necessaria */
body.modulo-page .modulo-note{ display:none; }

/* =========================================================
   STEPS (nuova timeline: meno box, più “flow”)
========================================================= */
body.modulo-page .modulo-steps{ display:none; } /* disattiva vecchia lista */

body.modulo-page .steps-wrap{
  margin-top:18px;
  display:grid;
  gap:18px;
}

body.modulo-page .steps-timeline{
  list-style:none;
  padding:0;
  margin:0;
  position:relative;
  display:grid;
  gap:14px;
}

/* linea verticale */
body.modulo-page .steps-timeline::before{
  content:"";
  position:absolute;
  left:13px;
  top:10px;
  bottom:10px;
  width:2px;
  background: linear-gradient(
    180deg,
    rgba(98,184,233,.45),
    rgba(255,255,255,.08)
  );
  opacity:.65;
}

body.modulo-page .step-item{
  position:relative;
  display:grid;
  grid-template-columns: 28px 1fr;
  gap:14px;
  align-items:start;
}

body.modulo-page .step-dot{
  width:12px;
  height:12px;
  margin-top:10px;
  margin-left:7px;
  border-radius:999px;
  background: var(--light-blue);
  box-shadow:0 0 18px rgba(98,184,233,.35);
}

body.modulo-page .step-content{
  border-radius:20px;
  padding:18px 18px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
}

body.modulo-page .step-top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
}

body.modulo-page .step-k{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
}

body.modulo-page .step-content h3{
  margin:0;
  color:rgba(255,255,255,.94);
  font-size:16px;
}

body.modulo-page .step-content p{
  margin:8px 0 0;
  color:rgba(255,255,255,.70);
  line-height:1.85;
  font-size:15px;
}

/* =========================================================
   CTA banner (più “premium”, meno blocco grosso)
========================================================= */
body.modulo-page .modulo-cta-banner{
  margin-top:6px;
  border-radius:22px;
  padding:20px;
  background: radial-gradient(120% 140% at 10% 0%,
    rgba(98,184,233,.16),
    rgba(255,255,255,.02) 55%
  );
  border:1px solid rgba(98,184,233,.18);
  box-shadow: inset 0 0 26px rgba(98,184,233,.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

body.modulo-page .modulo-cta-banner h3{
  margin:0 0 6px;
  color:rgba(255,255,255,.96);
  font-size:18px;
}

body.modulo-page .modulo-cta-banner p{
  margin:0;
  color:rgba(255,255,255,.72);
  line-height:1.85;
  max-width:72ch;
}

body.modulo-page .cta-right{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* =========================================================
   RESPONSIVE
========================================================= */
/* RESPONSIVE — MODULO PAGE */
@media (max-width: 980px){
  body.modulo-page .modulo-hero-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  body.modulo-page .hero-glass-card{
    position:relative;
    top:auto;
  }

  body.modulo-page .modulo-hero-trust{
    grid-template-columns:1fr;
  }

  body.modulo-page .modulo-split{
    grid-template-columns:1fr;
  }

  body.modulo-page .modulo-feature-grid{
    grid-template-columns:1fr;
  }

  body.modulo-page .usecases-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  body.modulo-page .modulo-hero{
    padding:110px 0 56px;
  }

  body.modulo-page .modulo-hero-cta{
    flex-direction:column;
  }

  body.modulo-page .modulo-hero-cta .btn-primary,
  body.modulo-page .modulo-hero-cta .btn-outline,
  body.modulo-page .modulo-hero-cta .btn-secondary,
  body.modulo-page .modulo-hero-cta .btn-ghost{
    width:100%;
  }

  body.modulo-page .modulo-details,
  body.modulo-page .modulo-usecases,
  body.modulo-page .modulo-implementation{
    padding:70px 0;
  }

  body.modulo-page .modulo-kpis{
    grid-template-columns:1fr;
  }

  body.modulo-page .usecase-title{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }

  body.modulo-page .step-top{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }

  body.modulo-page .modulo-cta-banner{
    padding:18px;
  }

  body.modulo-page .cta-right{
    width:100%;
    flex-direction:column;
  }

  body.modulo-page .cta-right .btn-primary,
  body.modulo-page .cta-right .btn-outline,
  body.modulo-page .cta-right .btn-secondary,
  body.modulo-page .cta-right .btn-ghost{
    width:100%;
  }
}













/* ======================================================================
   modulo-ai-tavros.css — SOLO PER modulo-ai-tavros.html
   Attivo solo con: body.modulo-tavros-page
====================================================================== */

:root{
  --tavros-line: rgba(98,184,233,.16);
  --tavros-line-2: rgba(98,184,233,.26);
  --tavros-card: rgba(255,255,255,.035);
  --tavros-card-2: rgba(255,255,255,.05);
  --tavros-text: rgba(255,255,255,.78);
  --tavros-muted: rgba(255,255,255,.62);
  --tavros-strong: rgba(255,255,255,.92);
  --tavros-radius: 22px;
}

html{
  scroll-behavior: smooth;
}

body.modulo-tavros-page .site-content{
  padding-top: 40px;
}

/* background enhancements */
body.modulo-tavros-page .tavros-grain{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.08), transparent 38%),
    radial-gradient(circle at 80% 30%, rgba(98,184,233,.10), transparent 42%),
    radial-gradient(circle at 40% 90%, rgba(255,255,255,.06), transparent 45%);
  filter: blur(0.2px);
}

body.modulo-tavros-page .tavros-glow{
  position: absolute;
  inset: -40px;
  pointer-events: none;
  opacity: .20;
  background:
    radial-gradient(800px 360px at 15% 25%, rgba(98,184,233,.30), transparent 60%),
    radial-gradient(780px 420px at 85% 30%, rgba(41,13,141,.22), transparent 62%),
    radial-gradient(900px 520px at 50% 95%, rgba(98,184,233,.18), transparent 65%);
  filter: blur(22px);
}

/* smooth reveal */
body.modulo-tavros-page .reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
body.modulo-tavros-page .reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  body.modulo-tavros-page .reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* dividers (più puliti) */
body.modulo-tavros-page .tavros-divider{
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(98,184,233,.18), transparent);
  opacity: .9;
}

/* HERO */
body.modulo-tavros-page .tav-hero{
  padding: 140px 0 70px;
  position: relative;
  z-index: 1;
}

body.modulo-tavros-page .tav-hero-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: start;
}

body.modulo-tavros-page .tav-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
  padding: 8px 0;
  border-bottom: 1px solid var(--tavros-line);
}

body.modulo-tavros-page .tav-h1{
  margin-top: 18px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.04;
  color: var(--tavros-strong);
  text-shadow: 0 0 20px rgba(98,184,233,.12);
  letter-spacing: -0.02em;
}

body.modulo-tavros-page .tav-h1 span{
  color: var(--light-blue);
  text-shadow: 0 0 26px rgba(98,184,233,.18);
}

body.modulo-tavros-page .tav-lead{
  margin-top: 16px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.85;
  color: rgba(255,255,255,.72);
  max-width: 70ch;
}

body.modulo-tavros-page .tav-cta{
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

body.modulo-tavros-page .tav-trust{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  max-width: 760px;
}

body.modulo-tavros-page .tav-trust-item{
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(98,184,233,.12);
  box-shadow: inset 0 0 22px rgba(98,184,233,.05);
  transition: transform .22s ease, border-color .22s ease;
}
body.modulo-tavros-page .tav-trust-item:hover{
  transform: translateY(-2px);
  border-color: rgba(98,184,233,.22);
}

body.modulo-tavros-page .tav-trust-item .k{
  display:block;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  letter-spacing: .02em;
}
body.modulo-tavros-page .tav-trust-item .v{
  display:block;
  margin-top: 6px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

/* HERO CARD */
body.modulo-tavros-page .tav-hero-card{
  position: relative;
}

body.modulo-tavros-page .tav-glass{
  border-radius: var(--tavros-radius);
  padding: 22px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(98,184,233,.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 0 26px rgba(98,184,233,.07), 0 20px 60px rgba(0,0,0,.35);
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

body.modulo-tavros-page .tav-card-top{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

body.modulo-tavros-page .tav-chip{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--dark-blue);
  background: var(--light-blue);
  box-shadow: 0 0 18px rgba(98,184,233,.30);
}

body.modulo-tavros-page .tav-chip-2{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(98,184,233,.22);
  color: rgba(255,255,255,.86);
  box-shadow: none;
}
body.modulo-tavros-page .tav-chip-3{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  box-shadow: none;
}

body.modulo-tavros-page .tav-card-title{
  margin: 10px 0 12px;
  font-weight: 900;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}

body.modulo-tavros-page .tav-check{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

body.modulo-tavros-page .tav-check li{
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  font-size: 14px;
}

body.modulo-tavros-page .tav-check li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:7px;
  height:7px;
  border-radius:999px;
  background: var(--light-blue);
  box-shadow: 0 0 14px rgba(98,184,233,.35);
}

body.modulo-tavros-page .tav-mini{
  margin-top: 14px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.75;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 14px;
}

body.modulo-tavros-page .tav-card-cta{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* hero metrics */
body.modulo-tavros-page .tav-hero-metrics{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.modulo-tavros-page .tav-metric{
  border-radius: 18px;
  padding: 16px 16px 14px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(98,184,233,.12);
  box-shadow: inset 0 0 22px rgba(98,184,233,.04);
}

body.modulo-tavros-page .tav-metric .n{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(98,184,233,.12);
  border: 1px solid rgba(98,184,233,.22);
  color: var(--light-blue);
  font-weight: 900;
  font-size: 12px;
}

body.modulo-tavros-page .tav-metric .t{
  display:block;
  margin-top: 10px;
  color: rgba(255,255,255,.90);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .01em;
}

body.modulo-tavros-page .tav-metric .d{
  display:block;
  margin-top: 6px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.65;
}

/* DETAILS */
body.modulo-tavros-page .tav-details{
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

body.modulo-tavros-page .tav-details-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: start;
}

body.modulo-tavros-page .tav-h2{
  font-size: clamp(26px, 3.4vw, 42px);
  color: rgba(255,255,255,.94);
  text-shadow: 0 0 18px rgba(98,184,233,.10);
  letter-spacing: -0.02em;
}

body.modulo-tavros-page .tav-p{
  margin-top: 12px;
  color: rgba(255,255,255,.70);
  line-height: 1.9;
  font-size: 16px;
  max-width: 92ch;
}

body.modulo-tavros-page .tav-bullets{
  margin-top: 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

body.modulo-tavros-page .tav-bullets li{
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
}

body.modulo-tavros-page .tav-bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:7px;
  height:7px;
  border-radius:999px;
  background: var(--light-blue);
  box-shadow: 0 0 14px rgba(98,184,233,.35);
}

body.modulo-tavros-page .tav-details-cta{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* media shell (più premium) */
body.modulo-tavros-page .tav-media-shell{
  border-radius: 22px;
  border: 1px solid rgba(98,184,233,.18);
  background: rgba(255,255,255,.02);
  box-shadow: 0 18px 60px rgba(0,0,0,.40);
  overflow: hidden;
}

body.modulo-tavros-page .tav-details-media video{
  width: 100%;
  display: block;
  transform: translateZ(0);
}

body.modulo-tavros-page .tav-caption{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.58);
}

/* side cards */
body.modulo-tavros-page .tav-sidecards{
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

body.modulo-tavros-page .tav-sidecard{
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
}

body.modulo-tavros-page .tav-sidecard h4{
  margin: 0 0 6px;
  color: rgba(255,255,255,.90);
  font-weight: 900;
  font-size: 14px;
}

body.modulo-tavros-page .tav-sidecard p{
  margin: 0;
  color: rgba(255,255,255,.66);
  line-height: 1.7;
  font-size: 13px;
}

/* callout */
body.modulo-tavros-page .tav-callout{
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(98,184,233,.06);
  border: 1px solid rgba(98,184,233,.18);
  box-shadow: inset 0 0 22px rgba(98,184,233,.05);
}

body.modulo-tavros-page .tav-callout-title{
  margin: 0 0 8px;
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .02em;
}
body.modulo-tavros-page .tav-callout-p{
  margin: 0;
  color: rgba(255,255,255,.70);
  line-height: 1.8;
  font-size: 14px;
}

/* FLOW */
body.modulo-tavros-page .tav-flow{
  padding: 90px 0 110px;
  position: relative;
  z-index: 1;
}

body.modulo-tavros-page .tav-flow-wrap{
  display:flex;
  flex-direction: column;
  gap: clamp(24px, 3.4vw, 44px);
}

body.modulo-tavros-page .tav-block{
  max-width: 980px;
}

body.modulo-tavros-page .tav-h3{
  font-size: clamp(22px, 2.8vw, 34px);
  color: rgba(255,255,255,.92);
  text-shadow: 0 0 14px rgba(98,184,233,.12);
  letter-spacing: -0.01em;
}

body.modulo-tavros-page .tav-note{
  margin-top: 14px;
  color: rgba(255,255,255,.78);
  text-shadow: 0 0 12px rgba(41,13,141,.18);
}

/* inline list */
body.modulo-tavros-page .tav-inline{
  margin-top: 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

body.modulo-tavros-page .tav-inline li{
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
}

body.modulo-tavros-page .tav-inline li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:7px;
  height:7px;
  border-radius:999px;
  background: var(--light-blue);
  box-shadow: 0 0 14px rgba(98,184,233,.35);
}

/* timeline */
body.modulo-tavros-page .tav-timeline{
  margin-top: 18px;
  padding: 0;
  list-style: none;
  position: relative;
  display: grid;
  gap: 16px;
  max-width: 920px;
}

body.modulo-tavros-page .tav-timeline::before{
  content:"";
  position:absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(98,184,233,.55), rgba(98,184,233,.10));
  filter: drop-shadow(0 0 10px rgba(98,184,233,.20));
}

body.modulo-tavros-page .tav-step{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

body.modulo-tavros-page .tav-step .dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-blue);
  box-shadow: 0 0 16px rgba(98,184,233,.36);
  margin-top: 6px;
}

body.modulo-tavros-page .tav-step .body h4{
  margin: 0 0 6px;
  font-size: 16px;
  color: rgba(255,255,255,.92);
}

body.modulo-tavros-page .tav-step .body p{
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
}

/* mod grid */
body.modulo-tavros-page .tav-mod-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
}

body.modulo-tavros-page .tav-mod{
  padding: 22px;
  border-radius: var(--tavros-radius);
  background: var(--tavros-card);
  border: 1px solid rgba(98,184,233,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 24px rgba(98,184,233,.06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

body.modulo-tavros-page .tav-mod:hover{
  transform: translateY(-3px);
  border-color: rgba(98,184,233,.30);
  box-shadow: inset 0 0 28px rgba(98,184,233,.10), 0 18px 60px rgba(0,0,0,.30);
}

body.modulo-tavros-page .tav-mod .tag{
  display:inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(98,184,233,.12);
  border: 1px solid rgba(98,184,233,.22);
  color: var(--light-blue);
  margin-bottom: 10px;
}

body.modulo-tavros-page .tav-mod h4{
  margin: 0 0 8px;
  color: rgba(255,255,255,.92);
  font-size: 18px;
}

body.modulo-tavros-page .tav-mod p{
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.85;
  font-size: 15px;
}

body.modulo-tavros-page .tav-row{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* split */
body.modulo-tavros-page .tav-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
  max-width: 980px;
}

body.modulo-tavros-page .tav-kpis{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}

body.modulo-tavros-page .tav-kpis .kpi{
  border-left: 2px solid rgba(98,184,233,.26);
  padding-left: 14px;
}

body.modulo-tavros-page .tav-kpis dt{
  font-size: 26px;
  font-weight: 900;
  color: var(--light-blue);
  text-shadow: 0 0 18px rgba(98,184,233,.20);
  line-height: 1.1;
}

body.modulo-tavros-page .tav-kpis dd{
  margin: 6px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

/* pill row */
body.modulo-tavros-page .tav-pillrow{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.modulo-tavros-page .tav-pill{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(98,184,233,.14);
  color: rgba(255,255,255,.78);
  font-weight: 700;
  font-size: 13px;
}

/* legal microtext */
body.modulo-tavros-page .tav-legal{
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,.55);
}

/* MODAL CONFIGURA MODULI */
body.dashboard-page .is-hidden {
  display: none !important;
}

body.dashboard-page .module-card.is-disabled {
  opacity: 0.72;
  border-color: rgba(255,255,255,0.10);
}

body.dashboard-page .module-light.is-disabled {
  background: rgba(255,255,255,0.30);
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.06),
    0 0 12px rgba(255,255,255,0.12);
}

body.dashboard-page .modules-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

body.dashboard-page .modules-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.dashboard-page .modules-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.dashboard-page .modules-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(98,184,233,0.18);
  background:
    linear-gradient(180deg, rgba(8, 14, 28, 0.96), rgba(5, 10, 20, 0.94));
  box-shadow:
    0 30px 90px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

body.dashboard-page .modules-modal-head,
body.dashboard-page .modules-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
}

body.dashboard-page .modules-modal-head {
  border-bottom: 1px solid rgba(98,184,233,0.14);
}

body.dashboard-page .modules-modal-head h2 {
  margin: 6px 0 8px;
  color: rgba(255,255,255,0.96);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.dashboard-page .modules-modal-subtitle {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  line-height: 1.75;
}

body.dashboard-page .modules-modal-close {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(98,184,233,0.18);
  background: rgba(98,184,233,0.06);
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  cursor: pointer;
}

body.dashboard-page .modules-modal-body {
  padding: 24px 26px 10px;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

body.dashboard-page .modules-panel {
  border-radius: 24px;
  border: 1px solid rgba(98,184,233,0.14);
  background: rgba(255,255,255,0.02);
  padding: 18px;
}

body.dashboard-page .modules-panel-head {
  margin-bottom: 16px;
}

body.dashboard-page .modules-panel-head h3 {
  margin: 0 0 6px;
  color: rgba(255,255,255,0.94);
  font-size: 18px;
}

body.dashboard-page .modules-panel-head p {
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  line-height: 1.7;
}

body.dashboard-page .uploaded-files-pool {
  display: grid;
  gap: 10px;
}

body.dashboard-page .uploaded-file-chip,
body.dashboard-page .assigned-file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(98,184,233,0.14);
  background: rgba(98,184,233,0.06);
}

body.dashboard-page .uploaded-file-chip {
  cursor: grab;
}

body.dashboard-page .uploaded-file-chip:active {
  cursor: grabbing;
}

body.dashboard-page .uploaded-file-main,
body.dashboard-page .assigned-file-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body.dashboard-page .uploaded-file-name,
body.dashboard-page .assigned-file-name {
  color: rgba(255,255,255,0.90);
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.dashboard-page .uploaded-file-meta,
body.dashboard-page .assigned-file-meta {
  color: rgba(255,255,255,0.56);
  font-size: 11px;
}

body.dashboard-page .module-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.dashboard-page .module-drop-card {
  border-radius: 22px;
  border: 1px solid rgba(98,184,233,0.14);
  background: linear-gradient(180deg, rgba(7, 13, 28, 0.76), rgba(6, 11, 24, 0.52));
  padding: 18px;
  display: grid;
  gap: 14px;
}

body.dashboard-page .module-drop-card.is-disabled {
  opacity: 0.58;
}

body.dashboard-page .module-drop-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

body.dashboard-page .module-drop-index {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(98,184,233,0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

body.dashboard-page .module-drop-card-head h4 {
  margin: 0;
  color: rgba(255,255,255,0.94);
  font-size: 18px;
  line-height: 1.15;
}

body.dashboard-page .module-drop-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(98,184,233,0.18);
  background: rgba(98,184,233,0.07);
  color: var(--light-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.dashboard-page .module-drop-badge.is-soon {
  color: rgba(255,255,255,0.70);
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

body.dashboard-page .module-drop-help {
  margin: 0;
  color: rgba(255,255,255,0.64);
  font-size: 13px;
  line-height: 1.7;
}

body.dashboard-page .module-dropzone {
  min-height: 180px;
  border-radius: 18px;
  border: 1px dashed rgba(98,184,233,0.24);
  background: rgba(98,184,233,0.03);
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 10px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

body.dashboard-page .module-dropzone.is-dragover {
  border-color: rgba(98,184,233,0.52);
  background: rgba(98,184,233,0.08);
  transform: translateY(-1px);
}

body.dashboard-page .module-dropzone.is-disabled {
  border-style: solid;
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}

body.dashboard-page .module-dropzone-placeholder {
  color: rgba(255,255,255,0.46);
  font-size: 12px;
  line-height: 1.6;
}

body.dashboard-page .module-assigned-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

body.dashboard-page .assigned-file-chip-remove {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  flex: 0 0 28px;
}

body.dashboard-page .modules-modal-foot {
  border-top: 1px solid rgba(98,184,233,0.14);
  flex-wrap: wrap;
}

body.dashboard-page .modules-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* RESPONSIVE — MODULO TAVROS PAGE */
@media (max-width: 980px){
  body.modulo-tavros-page .tav-hero-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  body.modulo-tavros-page .tav-glass{
    position:relative;
    top:auto;
  }

  body.modulo-tavros-page .tav-details-grid{
    grid-template-columns:1fr;
  }

  body.modulo-tavros-page .tav-mod-grid{
    grid-template-columns:1fr;
  }

  body.modulo-tavros-page .tav-split{
    grid-template-columns:1fr;
  }

  body.modulo-tavros-page .tav-hero-metrics{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  body.modulo-tavros-page .tav-hero{
    padding:110px 0 56px;
  }

  body.modulo-tavros-page .tav-cta,
  body.modulo-tavros-page .tav-card-cta,
  body.modulo-tavros-page .tav-details-cta,
  body.modulo-tavros-page .tav-row{
    flex-direction:column;
  }

  body.modulo-tavros-page .tav-cta .btn-primary,
  body.modulo-tavros-page .tav-cta .btn-outline,
  body.modulo-tavros-page .tav-card-cta .btn-primary,
  body.modulo-tavros-page .tav-card-cta .btn-outline,
  body.modulo-tavros-page .tav-details-cta .btn-primary,
  body.modulo-tavros-page .tav-details-cta .btn-outline,
  body.modulo-tavros-page .tav-row .btn-primary,
  body.modulo-tavros-page .tav-row .btn-outline{
    width:100%;
  }

  body.modulo-tavros-page .tav-trust{
    grid-template-columns:1fr;
  }

  body.modulo-tavros-page .tav-kpis{
    grid-template-columns:1fr;
  }

  body.modulo-tavros-page .tav-details,
  body.modulo-tavros-page .tav-flow{
    padding:70px 0;
  }

  body.modulo-tavros-page .tav-glass,
  body.modulo-tavros-page .tav-mod,
  body.modulo-tavros-page .tav-sidecard,
  body.modulo-tavros-page .tav-callout{
    padding:18px;
  }
}








/* ======================================================================
   DASHBOARD PAGE
====================================================================== */
body.dashboard-page {
  min-height: 100vh;
}

body.dashboard-page .nav-current {
  color: var(--light-blue);
}

body.dashboard-page .dashboard-main {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 36px) var(--pad-x) 90px;
}

body.dashboard-page .dashboard-shell {
  width: min(var(--container), calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
  display: grid;
  gap: 56px;
}

/* HERO */
body.dashboard-page .dash-hero {
  display: grid;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(98, 184, 233, 0.16);
}

body.dashboard-page .dash-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

body.dashboard-page .dash-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.dashboard-page .dash-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--light-blue);
  box-shadow: 0 0 16px rgba(98,184,233,0.68);
}

body.dashboard-page .dash-env {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.dashboard-page .dash-env-label {
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  font-weight: 600;
}

body.dashboard-page .dash-env-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(98,184,233,0.24);
  color: var(--light-blue);
  background: rgba(98,184,233,0.09);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.dashboard-page .dash-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 38px;
  align-items: start;
}

body.dashboard-page .dash-hero-main h1 {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.96);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 10ch;
  text-shadow: 0 10px 30px rgba(0,0,0,0.24);
}

body.dashboard-page .dash-lead {
  margin: 0;
  max-width: 68ch;
  color: rgba(255,255,255,0.74);
  font-size: 15px;
  line-height: 1.9;
}

body.dashboard-page .dash-hero-side {
  padding-top: 10px;
}

body.dashboard-page .dash-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

body.dashboard-page .dash-summary-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.dashboard-page .dash-summary-list li:first-child {
  padding-top: 0;
}

body.dashboard-page .dash-summary-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.dashboard-page .dash-summary-list span {
  color: rgba(255,255,255,0.58);
  font-size: 14px;
}

body.dashboard-page .dash-summary-list strong {
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

body.dashboard-page .dash-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* SECTION */
body.dashboard-page .dash-section {
  display: grid;
  gap: 18px;
}

body.dashboard-page .dash-section-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 24px;
  align-items: end;
}

body.dashboard-page .dash-section-title {
  display: grid;
  gap: 8px;
}

body.dashboard-page .section-kicker {
  color: var(--light-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.dashboard-page .dash-section-title h2 {
  margin: 0;
  color: rgba(255,255,255,0.95);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.dashboard-page .dash-section-copy {
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  line-height: 1.85;
  text-align: right;
}

body.dashboard-page .dash-rule {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(98,184,233,0.22),
    rgba(98,184,233,0.08) 38%,
    rgba(255,255,255,0.04) 100%
  );
}

/* UPLOAD */
body.dashboard-page .dash-upload {
  display: grid;
  gap: 20px;
}

body.dashboard-page .dash-upload-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

body.dashboard-page .dash-upload-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

body.dashboard-page .upload-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(98,184,233,0.24);
  color: var(--light-blue);
  font-size: 28px;
  font-weight: 800;
  background: rgba(98,184,233,0.06);
}

body.dashboard-page .dash-upload-copy h3 {
  margin: 0 0 4px;
  color: rgba(255,255,255,0.92);
  font-size: 22px;
  line-height: 1.15;
}

body.dashboard-page .dash-upload-copy p {
  margin: 0;
  color: rgba(255,255,255,0.66);
  font-size: 14px;
  line-height: 1.75;
}

body.dashboard-page .file-dropzone {
  border-top: 1px solid rgba(98,184,233,0.16);
  border-bottom: 1px solid rgba(98,184,233,0.16);
  transition: border-color .2s ease, background .2s ease;
}

body.dashboard-page .file-dropzone.is-dragover {
  background: rgba(98,184,233,0.04);
  border-top-color: rgba(98,184,233,0.42);
  border-bottom-color: rgba(98,184,233,0.42);
}

body.dashboard-page .file-dropzone-inner {
  padding: 20px 0;
  display: grid;
  gap: 8px;
}

body.dashboard-page .file-drop-text {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.8;
}

body.dashboard-page .file-dropzone small {
  color: rgba(255,255,255,0.58);
  font-size: 13px;
}

body.dashboard-page .file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

body.dashboard-page .file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

body.dashboard-page .file-item:last-child {
  border-bottom: 0;
}

body.dashboard-page .file-name {
  min-width: 0;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.dashboard-page .file-meta {
  color: rgba(255,255,255,0.56);
  font-size: 12px;
  white-space: nowrap;
}

body.dashboard-page .dash-upload-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.dashboard-page .status {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.6;
}

/* MODULES */
body.dashboard-page .modules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.dashboard-page .module-card {
  position: relative;
  min-height: 220px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(7, 13, 28, 0.78), rgba(6, 11, 24, 0.56));
  border: 1px solid rgba(98,184,233,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 16px 40px rgba(0,0,0,0.20),
    0 0 24px rgba(98,184,233,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

body.dashboard-page .module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(98,184,233,0.26);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 22px 46px rgba(0,0,0,0.24),
    0 0 34px rgba(98,184,233,0.08);
}

body.dashboard-page .module-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.dashboard-page .module-index {
  color: rgba(98,184,233,0.88);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.dashboard-page .module-state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

body.dashboard-page .module-light {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #62b8e9;
  box-shadow:
    0 0 0 4px rgba(111,229,154,0.10),
    0 0 14px rgba(111,229,154,0.65),
    0 0 28px rgba(111,229,154,0.34);
}

body.dashboard-page .module-card-body {
  display: grid;
  align-content: start;
  gap: 12px;
}

body.dashboard-page .module-card-body h3 {
  margin: 0;
  color: rgba(255,255,255,0.95);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

body.dashboard-page .module-card-body p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  line-height: 1.85;
  max-width: 42ch;
}

body.dashboard-page .module-card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

body.dashboard-page .module-type {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(98,184,233,0.18);
  background: rgba(98,184,233,0.06);
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}



/* API */
body.dashboard-page .api-list {
  display: grid;
}

body.dashboard-page .api-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.dashboard-page .api-line:first-child {
  padding-top: 4px;
}

body.dashboard-page .api-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.dashboard-page .api-main h3 {
  margin: 0 0 6px;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  line-height: 1.2;
}

body.dashboard-page .api-main p {
  margin: 0;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  line-height: 1.7;
  word-break: break-word;
}

body.dashboard-page .api-method {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(98,184,233,0.18);
  color: var(--light-blue);
  background: rgba(98,184,233,0.07);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* SUPPORT */
body.dashboard-page .support-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 4px;
  flex-wrap: wrap;
}

body.dashboard-page .support-main h3 {
  margin: 0 0 8px;
  color: rgba(255,255,255,0.92);
  font-size: 22px;
  line-height: 1.15;
}

body.dashboard-page .support-main p {
  margin: 0;
  color: rgba(255,255,255,0.66);
  font-size: 14px;
  line-height: 1.8;
  max-width: 70ch;
}

body.dashboard-page .support-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}


/* MODAL CONFIGURA MODULI */
body.dashboard-page .is-hidden {
  display: none !important;
}

body.dashboard-page .module-card.is-disabled {
  opacity: 0.72;
  border-color: rgba(255,255,255,0.10);
}

body.dashboard-page .module-light.is-disabled {
  background: rgba(255,255,255,0.30);
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.06),
    0 0 12px rgba(255,255,255,0.12);
}

body.dashboard-page .modules-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

body.dashboard-page .modules-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.dashboard-page .modules-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.dashboard-page .modules-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(98,184,233,0.18);
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.96), rgba(5, 10, 20, 0.94));
  box-shadow:
    0 30px 90px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

body.dashboard-page .modules-modal-head,
body.dashboard-page .modules-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
}

body.dashboard-page .modules-modal-head {
  border-bottom: 1px solid rgba(98,184,233,0.14);
}

body.dashboard-page .modules-modal-head h2 {
  margin: 6px 0 8px;
  color: rgba(255,255,255,0.96);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.dashboard-page .modules-modal-subtitle {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  line-height: 1.75;
}

body.dashboard-page .modules-modal-close {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(98,184,233,0.18);
  background: rgba(98,184,233,0.06);
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  cursor: pointer;
}

body.dashboard-page .modules-modal-body {
  padding: 24px 26px 10px;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

body.dashboard-page .modules-panel {
  border-radius: 24px;
  border: 1px solid rgba(98,184,233,0.14);
  background: rgba(255,255,255,0.02);
  padding: 18px;
}

body.dashboard-page .modules-panel-head {
  margin-bottom: 16px;
}

body.dashboard-page .modules-panel-head h3 {
  margin: 0 0 6px;
  color: rgba(255,255,255,0.94);
  font-size: 18px;
}

body.dashboard-page .modules-panel-head p {
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  line-height: 1.7;
}

body.dashboard-page .uploaded-files-pool {
  display: grid;
  gap: 10px;
}

body.dashboard-page .uploaded-file-chip,
body.dashboard-page .assigned-file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(98,184,233,0.14);
  background: rgba(98,184,233,0.06);
}

body.dashboard-page .uploaded-file-chip {
  cursor: grab;
}

body.dashboard-page .uploaded-file-chip:active {
  cursor: grabbing;
}

body.dashboard-page .uploaded-file-main,
body.dashboard-page .assigned-file-main {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 4px;
}

body.dashboard-page .uploaded-file-name,
body.dashboard-page .assigned-file-name {
  color: rgba(255,255,255,0.90);
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.dashboard-page .uploaded-file-meta,
body.dashboard-page .assigned-file-meta {
  color: rgba(255,255,255,0.56);
  font-size: 11px;
}

body.dashboard-page .module-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

body.dashboard-page .module-drop-card {
  border-radius: 22px;
  border: 1px solid rgba(98,184,233,0.14);
  background: linear-gradient(180deg, rgba(7, 13, 28, 0.76), rgba(6, 11, 24, 0.52));
  padding: 18px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  min-height: 100%;
}

body.dashboard-page .module-drop-card.is-disabled {
  opacity: 0.58;
}

body.dashboard-page .module-drop-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

body.dashboard-page .module-drop-index {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(98,184,233,0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

body.dashboard-page .module-drop-card-head h4 {
  margin: 0;
  color: rgba(255,255,255,0.94);
  font-size: 18px;
  line-height: 1.15;
}

body.dashboard-page .module-drop-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(98,184,233,0.18);
  background: rgba(98,184,233,0.07);
  color: var(--light-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.dashboard-page .module-drop-badge.is-soon {
  color: rgba(255,255,255,0.70);
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

body.dashboard-page .module-drop-help {
  margin: 0;
  color: rgba(255,255,255,0.64);
  font-size: 13px;
  line-height: 1.7;
}

body.dashboard-page .module-dropzone {
  min-height: 260px;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 18px;
  border: 1px dashed rgba(98,184,233,0.24);
  background: rgba(98,184,233,0.03);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

body.dashboard-page .module-dropzone.is-dragover {
  border-color: rgba(98,184,233,0.52);
  background: rgba(98,184,233,0.08);
  transform: translateY(-1px);
}

body.dashboard-page .module-dropzone.is-disabled {
  border-style: solid;
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}

body.dashboard-page .module-dropzone-placeholder {
  color: rgba(255,255,255,0.46);
  font-size: 12px;
  line-height: 1.6;
}

body.dashboard-page .module-dropzone::-webkit-scrollbar {
  width: 8px;
}

body.dashboard-page .module-dropzone::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
}

body.dashboard-page .module-dropzone::-webkit-scrollbar-thumb {
  background: rgba(98,184,233,0.28);
  border-radius: 999px;
}

body.dashboard-page .module-dropzone::-webkit-scrollbar-thumb:hover {
  background: rgba(98,184,233,0.42);
}

body.dashboard-page .module-assigned-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.dashboard-page .assigned-file-chip-remove {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  flex: 0 0 28px;
}

body.dashboard-page .modules-modal-foot {
  border-top: 1px solid rgba(98,184,233,0.14);
  flex-wrap: wrap;
}

body.dashboard-page .modules-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}



/* RESPONSIVE — DASHBOARD */
@media (max-width: 1100px){
  body.dashboard-page .dash-hero-grid,
  body.dashboard-page .dash-section-bar,
  body.dashboard-page .modules-modal-body{
    grid-template-columns:1fr;
  }

  body.dashboard-page .dash-section-copy{
    text-align:left;
    max-width:100%;
  }

  body.dashboard-page .modules-grid{
    grid-template-columns:1fr;
  }

  body.dashboard-page .module-config-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  body.dashboard-page .dashboard-main{
    padding:calc(var(--header-h) + 20px) var(--pad-x) 64px;
  }

  body.dashboard-page .dashboard-shell{
    gap:42px;
  }

  body.dashboard-page .dash-hero-main h1{
    max-width:none;
    font-size:clamp(30px, 10vw, 48px);
  }

  body.dashboard-page .dash-upload-head,
  body.dashboard-page .support-line,
  body.dashboard-page .api-line,
  body.dashboard-page .dash-upload-copy{
    align-items:flex-start;
    flex-direction:column;
  }

  body.dashboard-page .file-item{
    flex-direction:column;
    align-items:flex-start;
  }

  body.dashboard-page .file-meta{
    white-space:normal;
  }

  body.dashboard-page .module-card{
    min-height:auto;
    padding:20px 18px;
  }

  body.dashboard-page .module-card-body h3{
    max-width:none;
  }

  body.dashboard-page .modules-modal{
    padding:12px;
  }

  body.dashboard-page .modules-modal-dialog{
    border-radius:20px;
    max-height:calc(100vh - 24px);
  }

  body.dashboard-page .modules-modal-head,
  body.dashboard-page .modules-modal-body,
  body.dashboard-page .modules-modal-foot{
    padding:18px;
  }

  body.dashboard-page .module-drop-card{
    padding:16px;
  }

  body.dashboard-page .module-dropzone{
    min-height:220px;
    max-height:220px;
  }

  body.dashboard-page .modules-modal-actions{
    width:100%;
    flex-direction:column;
  }

  body.dashboard-page .modules-modal-actions .btn-primary,
  body.dashboard-page .modules-modal-actions .btn-outline,
  body.dashboard-page .modules-modal-actions .btn-secondary,
  body.dashboard-page .modules-modal-actions .btn-ghost{
    width:100%;
  }
}








/* ======================================================================
   11) RESPONSIVE EXTRA GLOBALI
====================================================================== */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}