/* CZ LAB - Dark Modern WOW
   No framework. Pure CSS. */

:root{
  --bg0:#07080b;
  --bg1:#0b0d12;
  --card:#0f121a;
  --card2:#131827;
  --text:#e9ecf5;
  --muted:#a7afc2;
  --line: rgba(255,255,255,.08);
  --accent:#7c5cff;
  --accent2:#00d1ff;
  --ok:#32d583;
  --warn:#fdb022;
  --shadow: 0 20px 60px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(0,209,255,.22), transparent 55%),
    radial-gradient(900px 700px at 50% 120%, rgba(50,213,131,.12), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
.container{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
}

/* top nav */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,8,11,.45);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}
.brand{
  display:flex; gap:10px; align-items:center;
  font-weight:800;
  letter-spacing:.5px;
}
.brand-badge{
  width:34px; height:34px;
  border-radius:10px;
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(0,209,255,1));
  box-shadow: 0 10px 30px rgba(124,92,255,.25);
}
.brand span{ opacity:.9; }
.nav-links{
  display:flex; gap:16px; align-items:center;
  color:var(--muted);
  font-weight:600;
}
.nav-links a{
  padding:8px 10px;
  border-radius:10px;
  transition: .25s ease;
}
.nav-links a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
}

/* hero */
.hero{
  padding:70px 0 26px;
}
.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  color: var(--muted);
  font-weight:700;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.03);
}
.pulse{
  width:10px; height:10px; border-radius:50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(50,213,131,.55);
  animation: pulse 1.8s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(50,213,131,.45);}
  70%{ box-shadow: 0 0 0 14px rgba(50,213,131,0);}
  100%{ box-shadow: 0 0 0 0 rgba(50,213,131,0);}
}
.h1{
  margin:18px 0 10px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height:1.02;
  letter-spacing:-.02em;
}
.sub{
  margin:0;
  color: var(--muted);
  max-width: 720px;
  font-size: 16px;
  line-height: 1.55;
}
.hero-actions{
  display:flex;
  gap:12px;
  margin-top:22px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight:800;
  transition: .25s ease;
  cursor:pointer;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.06); }
.btn.primary{
  border: none;
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(0,209,255,1));
  box-shadow: 0 18px 50px rgba(124,92,255,.25);
}
.btn.primary:hover{ filter:saturate(1.1); transform: translateY(-2px); }
.btn .icon{
  width:18px; height:18px;
  display:inline-block;
}

/* sections */
.section{
  padding:26px 0 34px;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.section-title{
  font-size: 22px;
  font-weight: 900;
  letter-spacing:-.01em;
}
.section-desc{
  color: var(--muted);
  font-weight: 600;
}

/* grid cards */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.card{
  grid-column: span 4;
  border:1px solid var(--line);
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  box-shadow: 0 0 0 rgba(0,0,0,0);
  position:relative;
  overflow:hidden;
  transform: translateY(10px);
  opacity:0;
  animation: rise .65s ease forwards;
}
.card:nth-child(2){ animation-delay:.04s; }
.card:nth-child(3){ animation-delay:.08s; }
.card:nth-child(4){ animation-delay:.12s; }
.card:nth-child(5){ animation-delay:.16s; }
.card:nth-child(6){ animation-delay:.20s; }
@keyframes rise{
  to{ transform: translateY(0); opacity:1; }
}
.card::before{
  content:"";
  position:absolute; inset:-1px;
  background:
    radial-gradient(420px 220px at 15% 10%, rgba(124,92,255,.25), transparent 60%),
    radial-gradient(320px 200px at 90% 0%, rgba(0,209,255,.18), transparent 55%);
  opacity:.65;
  pointer-events:none;
}
.card-inner{
  position:relative;
  padding:16px;
  display:flex;
  flex-direction:column;
  min-height: 170px;
}
.badge{
  width:max-content;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.22);
  color: var(--muted);
}
.card-title{
  margin:10px 0 6px;
  font-size:16px;
  font-weight:900;
}
.card-desc{
  margin:0 0 12px;
  color: var(--muted);
  font-weight:600;
  line-height:1.4;
}
.row{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.price{
  font-weight:1000;
  letter-spacing:-.01em;
  font-size:18px;
}
.price small{
  display:block;
  font-size:12px;
  color: var(--muted);
  font-weight:700;
  margin-top:2px;
}
.card .btn{
  padding:10px 12px;
  border-radius:14px;
  font-weight:900;
}
.card:hover{
  transform: translateY(-3px);
  transition: .25s ease;
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.card:hover .btn{ background: rgba(255,255,255,.08); }

/* responsive */
@media (max-width: 980px){
  .card{ grid-column: span 6; }
}
@media (max-width: 640px){
  .nav-links{ display:none; }
  .card{ grid-column: span 12; }
}

/* modal */
.modal{
  position:fixed; inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.62);
  z-index: 100;
  padding: 18px;
}
.modal.open{ display:flex; }
.modal-box{
  width:min(760px, 100%);
  border-radius: 22px;
  border:1px solid var(--line);
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(820px 420px at 90% 0%, rgba(0,209,255,.15), transparent 55%),
    linear-gradient(180deg, rgba(19,24,39,.92), rgba(12,14,18,.92));
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  overflow:hidden;
  animation: pop .18s ease;
}
@keyframes pop{
  from{ transform: scale(.97); opacity:.6; }
  to{ transform: scale(1); opacity:1; }
}
.modal-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:16px 16px 10px;
  border-bottom:1px solid var(--line);
}
.modal-title{
  font-size: 18px;
  font-weight: 1000;
  margin:0;
}
.modal-sub{
  margin:6px 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height:1.45;
}
.close{
  width:38px; height:38px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 18px;
  cursor:pointer;
}
.modal-body{
  padding:14px 16px 16px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
.panel{
  border:1px solid var(--line);
  border-radius:18px;
  background: rgba(255,255,255,.03);
  padding:14px;
}
.list{
  margin:10px 0 0;
  padding:0;
  list-style:none;
  color: var(--muted);
  font-weight:600;
}
.list li{ padding:8px 0; border-top:1px dashed rgba(255,255,255,.08); }
.list li:first-child{ border-top:none; padding-top:0; }
.kv{
  display:flex; justify-content:space-between; gap:10px;
  font-weight:800;
}
.kv span:last-child{ color: var(--text); }
.notice{
  color: var(--muted);
  font-weight:600;
  font-size:13px;
  line-height:1.5;
  margin:10px 0 0;
}
@media (max-width: 780px){
  .modal-body{ grid-template-columns: 1fr; }
}

/* footer */
.footer{
  padding:26px 0 40px;
  border-top:1px solid var(--line);
  color: var(--muted);
  font-weight:600;
}

/* ===============================
   CZ LAB — Add-on (no patch HTML)
   Recensioni + Social icon buttons
   =============================== */

/* Surface: separa le sezioni dal background della pagina (risolve “card coperte”) */
.surface{
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7,8,11,.62);
  backdrop-filter: blur(10px);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.surface::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(700px 320px at 15% 15%, rgba(124,92,255,.18), transparent 60%),
    radial-gradient(700px 320px at 85% 35%, rgba(0,209,255,.12), transparent 55%);
  opacity: 1;
  pointer-events:none;
}
.surface > *{ position:relative; z-index:1; }

/* Reviews slider (pulito, senza librerie) */
.reviews-wrap{ position:relative; overflow:hidden; }
.reviews-track{
  display:flex;
  gap:14px;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 6px;
  -webkit-overflow-scrolling: touch;
}
.review{
  min-width: 360px;
  scroll-snap-align: start;
}
@media (max-width: 420px){
  .review{ min-width: 85vw; }
}

/* Card recensioni più “solide” per non impastarsi col background */
.review.card{
  background: rgba(15,18,26,.70);
}
.review.card::before{
  opacity: .40; /* meno glow, più leggibilità */
}
.review .card-inner{
  background: rgba(0,0,0,.18);
  border-radius: 16px;
}

/* stelle + testo recensione */
.stars{ letter-spacing: 2px; font-weight: 1000; }
.review-text{
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}
.review-name{
  margin-top: 12px;
  font-weight: 950;
  color: var(--text);
}

/* Bottoni social con icona (WhatsApp/Facebook) */
.social-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.icon-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:44px;
  padding:0 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight: 950;
  text-decoration:none;
  transition:.25s ease;
}
.icon-btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.06); }

.icon-wrap{
  width:30px; height:30px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.icon{
  width:18px;
  height:18px;
  display:block;
}
.icon-btn.wa .icon-wrap{ background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.20); }
.icon-btn.fb .icon-wrap{ background: rgba(24,119,242,.12); border-color: rgba(24,119,242,.20); }

/* Floating WhatsApp (conversione) */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display:flex;
  gap:10px;
  align-items:center;
  padding: 12px 14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(7,8,11,.55);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-weight: 950;
  text-decoration:none;
}
.wa-dot{
  width:10px; height:10px;
  border-radius:999px;
  background:#25D366;
  box-shadow: 0 0 0 6px rgba(37,211,102,.10);
}


/* ===== Footer: blocco solido, niente mismatch ===== */
.footer{
  background: rgba(7,8,11,.92);
  border-top: 1px solid rgba(255,255,255,.08);
}