/* ============================================================
   AETHER EDGE — Design System
   Enterprise AI Cloud Infrastructure
   ============================================================ */

:root {
  /* palette */
  --bg:        #05070E;
  --bg-2:      #080B16;
  --surface:   #0D1120;
  --surface-2: #121730;
  --line:      rgba(120,150,220,.14);
  --line-2:    rgba(120,150,220,.28);

  --text:      #EAF1FF;
  --muted:     #9AA8C7;
  --muted-2:   #6B7798;

  --cyan:      #27F0D2;
  --blue:      #5B8CFF;
  --violet:    #8B6CFF;

  --grad:      linear-gradient(120deg, #27F0D2 0%, #5B8CFF 55%, #8B6CFF 100%);
  --grad-soft: linear-gradient(120deg, rgba(39,240,210,.14), rgba(91,140,255,.14));
  --glow:      0 0 0 1px rgba(39,240,210,.25), 0 8px 40px rgba(39,240,210,.18);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --maxw: 1200px;
  --nav-h: 76px;

  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(39,240,210,.3); color: #fff; }

/* ---------- background ambience ---------- */
.bg-fx {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(91,140,255,.16), transparent 60%),
    radial-gradient(800px 700px at 92% 8%, rgba(139,108,255,.14), transparent 60%),
    radial-gradient(700px 700px at 50% 110%, rgba(39,240,210,.10), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,150,220,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,220,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
section { position: relative; padding: 110px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-size: 12.5px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--cyan);
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 100px;
  background: var(--grad-soft);
}
.eyebrow::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--cyan); box-shadow:0 0 10px var(--cyan); }
h1,h2,h3,h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.5px; }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 50px); margin: 20px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #03121A; box-shadow: 0 10px 30px rgba(39,240,210,.28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(39,240,210,.42); }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: var(--glow); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,8,16,.72); backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; }
.nav-logo svg { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 9px 15px;
  border-radius: 100px; transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.04); }
.nav-cta { margin-left: 10px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--nav-h) + 70px); padding-bottom: 90px; min-height: 100vh; display: flex; align-items: center; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: .55; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.6vw, 82px); margin: 26px 0; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 54px; flex-wrap: wrap; }
.hero-stats .stat .num { font-family: var(--display); font-size: 34px; font-weight: 700; }
.hero-stats .stat .lbl { font-size: 13.5px; color: var(--muted-2); letter-spacing: .3px; }

/* hero visual — floating server rack */
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.rack {
  width: 320px; transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(6deg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: rotateY(-22deg) rotateX(6deg) translateY(0);} 50%{ transform: rotateY(-16deg) rotateX(4deg) translateY(-16px);} }
.rack-frame {
  background: linear-gradient(160deg, #11162b, #0a0e1c);
  border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 14px;
  box-shadow: 0 40px 90px rgba(0,0,0,.6), var(--glow);
}
.rack-unit {
  height: 42px; margin-bottom: 9px; border-radius: 7px;
  background: linear-gradient(90deg, #161c34, #0e1326);
  border: 1px solid var(--line); display: flex; align-items: center; padding: 0 12px; gap: 7px;
  position: relative; overflow: hidden;
}
.rack-unit:last-child { margin-bottom: 0; }
.rack-unit .led { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.rack-unit .led.blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.rack-unit .led.amber { background: #FFB454; box-shadow: 0 0 8px #FFB454; }
.rack-unit .slots { display: flex; gap: 4px; margin-left: auto; }
.rack-unit .slots i { width: 16px; height: 22px; border-radius: 2px; background: rgba(120,150,220,.18); display: block; }
.rack-unit::after {
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(39,240,210,.18), transparent);
  animation: sweep 4s linear infinite;
}
@keyframes sweep { 0%{ left:-60%;} 100%{ left:160%;} }
.led.blink { animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50%{ opacity:.25; } }

/* ---------- hero network scene (server + nodi energetici) ---------- */
.net-wrap { position: relative; width: min(460px, 100%); aspect-ratio: 1 / 1; display: grid; place-items: center; }
.net-scene { width: 100%; height: 100%; overflow: visible; }
.net-aura { animation: auraPulse 4.5s ease-in-out infinite; transform-origin: 240px 240px; }
@keyframes auraPulse { 0%,100%{ opacity:.5; transform: scale(.92);} 50%{ opacity:.9; transform: scale(1.06);} }

/* links */
.net-link { fill: none; stroke: rgba(120,160,230,.20); stroke-width: 1.4; }
.net-link.flow { stroke: url(#ngGrad); stroke-opacity: .35; stroke-dasharray: 5 9; animation: dashflow 1.1s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -28; } }

/* nodes */
.net-node .hex { fill: #0B1022; stroke: url(#ngGrad2); stroke-width: 1.6; transition: fill .35s; }
.net-node .ico { stroke: #6F7FB0; fill: none; stroke-width: 2; transition: stroke .35s; }
.net-node .ring { fill: none; stroke: #27F0D2; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.net-node.lit .hex { fill: #10204a; }
.net-node.lit .ico { stroke: #27F0D2; }
.net-node.lit .ring { animation: nodePing .6s ease-out; }
@keyframes nodePing { 0%{ opacity:.9; transform: scale(.7);} 100%{ opacity:0; transform: scale(1.5);} }
.net-node .dot { fill: #27F0D2; opacity: .35; transition: opacity .35s; }
.net-node.lit .dot { opacity: 1; }

/* server */
#netServer .srv-ring { opacity: .25; }
#netServer.busy .srv-ring { opacity: .9; animation: srvRing .5s ease-out; }
@keyframes srvRing { 0%{ stroke-width:3; } 100%{ stroke-width:2; } }
.srv-led { fill: #1c2950; }
.srv-led.on { fill: #27F0D2; filter: drop-shadow(0 0 4px #27F0D2); }
#netServer .srv-units g .srv-led.l1 { animation: ledA 1.6s steps(1) infinite; }
#netServer .srv-units g .srv-led.l2 { animation: ledB 2.1s steps(1) infinite; }
#netServer .srv-units g .srv-led.l3 { animation: ledC 1.3s steps(1) infinite; }
@keyframes ledA { 0%,55%{ fill:#27F0D2; } 56%,100%{ fill:#1c2950; } }
@keyframes ledB { 0%,40%{ fill:#5B8CFF; } 41%,100%{ fill:#1c2950; } }
@keyframes ledC { 0%,30%{ fill:#27F0D2; } 31%,100%{ fill:#1c2950; } }
.srv-pulse-ring { fill: none; stroke: #27F0D2; stroke-width: 2; opacity: 0; }
#netServer.busy .srv-pulse-ring { animation: srvBurst .55s ease-out; }
@keyframes srvBurst { 0%{ r:62; opacity:.7; } 100%{ r:110; opacity:0; } }

/* moving pulses (cursori) */
.net-pulse { fill: #BFFFF4; filter: drop-shadow(0 0 6px #27F0D2); }
.net-pulse.out { fill: #D6E2FF; filter: drop-shadow(0 0 6px #5B8CFF); }

/* ---------- trust strip ---------- */
.trust { padding: 38px 0; border-block: 1px solid var(--line); background: rgba(8,11,22,.5); }
.trust .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust .label { font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); }
.trust .badges { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.trust .badge { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; font-weight: 500; }
.trust .badge svg { width: 20px; height: 20px; color: var(--cyan); }

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: linear-gradient(160deg, var(--surface), rgba(13,17,32,.4));
  border: 1px solid var(--line); border-radius: var(--r); padding: 30px;
  transition: transform .35s, border-color .35s, box-shadow .35s; position: relative; overflow: hidden;
}
.card::before {
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background: var(--grad); opacity:0; transition:opacity .35s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-6px); }
.card:hover::before { opacity: .6; }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-2); margin-bottom: 20px; color: var(--cyan);
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.prod {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  transition: transform .4s, box-shadow .4s, border-color .4s; transform-style: preserve-3d;
}
.prod:hover { transform: translateY(-8px); border-color: var(--line-2); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.prod.featured { border-color: rgba(39,240,210,.35); box-shadow: var(--glow); }
.prod-top { padding: 32px 32px 24px; border-bottom: 1px solid var(--line); position: relative; }
.prod-tag {
  position: absolute; top: 22px; right: 22px; font-family: var(--display); font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 12px; border-radius: 100px;
  background: var(--grad); color: #03121A;
}
.prod-line { font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.prod h3 { font-size: 28px; margin: 12px 0 6px; }
.prod .subt { color: var(--muted); font-size: 14.5px; }
.prod .price { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.prod .price .v { font-family: var(--display); font-size: 34px; font-weight: 700; }
.prod .price .u { color: var(--muted-2); font-size: 14px; }
.prod .price .iva { font-size: 13px; color: var(--muted-2); margin-left: auto; }
.prod-specs { padding: 26px 32px; display: grid; gap: 13px; }
.prod-specs li { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: 14.5px; list-style: none; }
.prod-specs li svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.prod-foot { padding: 0 32px 32px; display: flex; gap: 12px; align-items: center; }
.prod-foot .ean { font-size: 12px; color: var(--muted-2); margin-left: auto; font-variant-numeric: tabular-nums; }

/* ---------- specs table (prodotti page) ---------- */
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table th { background: rgba(255,255,255,.025); font-family: var(--display); color: var(--cyan); font-weight: 600; width: 26%; }
.spec-table td { color: var(--muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-wrap { background: var(--surface); border-radius: var(--r); overflow: hidden; }

/* ---------- warranty page ---------- */
.warranty-hero { padding-top: calc(var(--nav-h) + 80px); padding-bottom: 40px; text-align: center; }
.warranty-hero h1 { font-size: clamp(36px, 5.5vw, 60px); margin: 22px 0 16px; }
.warranty-hero p { color: var(--muted); font-size: 18px; max-width: 600px; margin-inline: auto; }
.check-wrap { max-width: 720px; margin: 0 auto 110px; }
.check-card {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); position: relative; overflow: hidden;
}
.check-card::after {
  content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--grad);
}
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 9px; color: var(--text); font-family: var(--display); }
.field .hint { font-size: 12.5px; color: var(--muted-2); font-weight: 400; margin-left: 6px; }
.field input {
  width: 100%; padding: 15px 18px; border-radius: var(--r-sm); font-size: 16px; font-family: var(--font);
  background: rgba(5,7,14,.6); border: 1px solid var(--line-2); color: var(--text);
  transition: border-color .25s, box-shadow .25s; letter-spacing: 1px;
}
.field input::placeholder { color: var(--muted-2); letter-spacing: .5px; }
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(39,240,210,.15); }
.field input.err { border-color: #FF6B6B; box-shadow: 0 0 0 3px rgba(255,107,107,.12); }
.check-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check-actions { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.check-actions .btn { flex: 1; justify-content: center; }
.demo-link { font-size: 13px; color: var(--muted); text-align: center; margin-top: 18px; }
.demo-link a { color: var(--cyan); text-decoration: underline; cursor: pointer; }

/* result */
.result { margin-top: 30px; }
.result-card {
  border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line-2);
  animation: popIn .5s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes popIn { from { opacity:0; transform: translateY(18px) scale(.98);} to { opacity:1; transform:none;} }
.result-card.valid { background: linear-gradient(165deg, rgba(39,240,210,.08), rgba(13,17,32,.6)); border-color: rgba(39,240,210,.4); }
.result-card.warn  { background: linear-gradient(165deg, rgba(255,180,84,.08), rgba(13,17,32,.6)); border-color: rgba(255,180,84,.4); }
.result-card.invalid { background: linear-gradient(165deg, rgba(255,107,107,.08), rgba(13,17,32,.6)); border-color: rgba(255,107,107,.4); }
.result-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.result-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.result-card.valid .result-icon { background: rgba(39,240,210,.16); color: var(--cyan); }
.result-card.warn  .result-icon { background: rgba(255,180,84,.16); color: #FFB454; }
.result-card.invalid .result-icon { background: rgba(255,107,107,.16); color: #FF6B6B; }
.result-icon svg { width: 30px; height: 30px; }
.result-head h3 { font-size: 22px; }
.result-head .status-sub { font-size: 14px; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.result-grid .cell { background: var(--surface); padding: 16px 18px; }
.result-grid .cell .k { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 5px; }
.result-grid .cell .val { font-size: 15.5px; font-weight: 600; font-family: var(--display); }
.result-grid .cell .val.ok { color: var(--cyan); }
.result-grid .cell .val.bad { color: #FF6B6B; }
.result-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.result-note svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.coverage { margin-top: 20px; }
.coverage .bar { height: 8px; border-radius: 100px; background: rgba(255,255,255,.07); overflow: hidden; }
.coverage .bar i { display: block; height: 100%; border-radius: 100px; background: var(--grad); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.coverage .meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted-2); margin-top: 8px; }

.spinner { width: 20px; height: 20px; border: 2px solid rgba(3,18,26,.3); border-top-color: #03121A; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* info cards under warranty */
.wfaq { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.wfaq .card h3 { font-size: 17px; }
.wfaq .card p { font-size: 14px; }

/* ---------- download / area manuali ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dl-card {
  display: flex; align-items: center; gap: 22px; padding: 26px 28px;
  background: linear-gradient(160deg, var(--surface), rgba(13,17,32,.4));
  border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.dl-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.dl-card:hover .dl-btn { background: var(--grad); color: #03121A; box-shadow: 0 8px 22px rgba(39,240,210,.32); }
.dl-card:hover .dl-ico { color: var(--cyan); border-color: var(--line-2); }
.dl-ico {
  width: 60px; height: 60px; flex-shrink: 0; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line); color: var(--blue); transition: color .3s, border-color .3s;
}
.dl-ico svg { width: 30px; height: 30px; }
.dl-body { flex: 1; min-width: 0; }
.dl-kind { font-family: var(--display); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); }
.dl-body h3 { font-size: 19px; margin: 5px 0 7px; }
.dl-body p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; align-self: center;
  font-family: var(--display); font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 100px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--text); transition: all .3s;
}
.dl-btn svg { width: 17px; height: 17px; }

/* ---------- contatti ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 820px; margin: 34px auto 0; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r-sm);
  background: rgba(5,7,14,.4); border: 1px solid var(--line-2); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: var(--glow); }
.contact-k { font-family: var(--display); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); }
.contact-v { font-size: 14.5px; font-weight: 600; color: var(--text); word-break: break-word; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--r-lg); padding: 60px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(39,240,210,.1), rgba(91,140,255,.1), rgba(139,108,255,.1));
  border: 1px solid var(--line-2);
}
.cta-band h2 { font-size: clamp(28px,4vw,44px); margin-bottom: 16px; }
.cta-band p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 40px; background: rgba(8,11,22,.5); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin: 18px 0; max-width: 300px; }
.footer h4 { font-family: var(--display); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--muted-2); font-size: 13px; }
.footer-bottom .legal { display: flex; gap: 22px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marq 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--muted-2); letter-spacing: 1px; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.marquee-track span::before { content:"◆"; color: var(--cyan); font-size: 9px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- responsive ---------- */
/* nav: collassa a menu mobile sotto i 1024px (7 voci) */
@media (max-width: 1024px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(6,8,16,.97); backdrop-filter: blur(20px); padding: 16px; gap: 4px; border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-120%); transition: transform .35s; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { order: -1; }
  .feat-grid, .prod-grid, .wfaq, .footer-grid, .dl-grid, .contact-grid { grid-template-columns: 1fr; }
  .dl-card { flex-wrap: wrap; gap: 16px; }
  section { padding: 80px 0; }
  .check-card { padding: 26px; }
  .check-row, .result-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  /* schede prodotto dettaglio: impila le due colonne */
  .prod-top[style] { grid-template-columns: 1fr !important; gap: 18px !important; text-align: left !important; }
  .prod-top[style] > div[style*="right"] { text-align: left !important; }
  .prod-top[style] .price { justify-content: flex-start !important; }
}

/* ---------- smartphone ---------- */
@media (max-width: 600px) {
  :root { --nav-h: 64px; }
  .container { padding-inline: 18px; }
  section { padding: 58px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head p { font-size: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); min-height: auto; }
  .hero p.lead { font-size: 17px; }
  .hero-stats { gap: 20px 26px; margin-top: 40px; }
  .hero-stats .stat .num { font-size: 26px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .nav-logo svg { height: 34px; }
  .card { padding: 24px; }
  .prod h3 { font-size: 24px; }
  /* tabelle più compatte e leggibili */
  .spec-table th, .spec-table td { padding: 11px 12px; font-size: 12.5px; }
  .spec-table th { width: 36%; }
  .prod > div[style*="padding:30px 32px"] { padding: 16px !important; }
  .prod-top, .prod-specs, .prod-foot { padding-left: 22px !important; padding-right: 22px !important; }
  .prod-foot { flex-wrap: wrap; }
  .cta-band { padding: 32px 20px; }
  .cta-band h2 { font-size: 26px; }
  .cta-band p { font-size: 16px; }
  .check-card { padding: 20px; }
  .cf-card, .ck-modal-card { padding: 22px; }
  .net-wrap { max-width: 300px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .footer-grid { gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom .legal { flex-wrap: wrap; gap: 14px 18px; }
  .ck-fab { width: 42px; height: 42px; left: 14px; bottom: 14px; }
}

@media (max-width: 380px) {
  .hero-stats { gap: 14px 20px; }
  .hero-stats .stat .num { font-size: 23px; }
  .cert-badge { font-size: 12px; padding: 8px 12px 8px 9px; }
  .eyebrow { font-size: 11.5px; letter-spacing: 2px; }
}

/* ---------- cookie consent ---------- */
.ck-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 200;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s, transform .4s;
}
.ck-banner.show { opacity: 1; transform: none; pointer-events: auto; }
.ck-inner {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 22px;
  padding: 20px 24px; border-radius: var(--r);
  background: rgba(9,12,22,.92); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0,0,0,.55), var(--glow);
}
.ck-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--cyan); }
.ck-ico svg { width: 26px; height: 26px; }
.ck-text { flex: 1; min-width: 0; }
.ck-text strong { font-family: var(--display); font-size: 15px; display: block; margin-bottom: 3px; }
.ck-text p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.ck-text a { color: var(--cyan); text-decoration: underline; }
.ck-actions { display: flex; gap: 10px; flex-shrink: 0; }
.ck-btn {
  font-family: var(--display); font-weight: 600; font-size: 13.5px; padding: 11px 18px;
  border-radius: 100px; cursor: pointer; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s, background .2s; white-space: nowrap;
}
.ck-btn.ghost:hover { border-color: var(--cyan); transform: translateY(-2px); }
.ck-btn.primary { background: var(--grad); color: #03121A; border-color: transparent; box-shadow: 0 8px 22px rgba(39,240,210,.3); }
.ck-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(39,240,210,.42); }

.ck-modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px;
  background: rgba(3,5,11,.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.ck-modal.show { opacity: 1; }
.ck-modal[hidden] { display: none; }
.ck-modal-card {
  width: 100%; max-width: 540px; max-height: 88vh; overflow-y: auto;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 30px;
  box-shadow: 0 40px 90px rgba(0,0,0,.6); transform: translateY(14px) scale(.98); transition: transform .25s;
}
.ck-modal.show .ck-modal-card { transform: none; }
.ck-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ck-modal-head h3 { font-size: 22px; }
.ck-close { background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; transition: color .2s; }
.ck-close:hover { color: var(--text); }
.ck-modal-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.ck-cat { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; margin-bottom: 12px; background: rgba(5,7,14,.4); }
.ck-cat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ck-cat-name { font-family: var(--display); font-weight: 600; font-size: 15px; }
.ck-cat p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.ck-pill { font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--cyan); padding: 4px 10px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--grad-soft); }
.ck-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.ck-switch input { opacity: 0; width: 0; height: 0; }
.ck-slider { position: absolute; inset: 0; cursor: pointer; background: #1b2342; border: 1px solid var(--line-2); border-radius: 100px; transition: .25s; }
.ck-slider::before { content: ""; position: absolute; height: 16px; width: 16px; left: 3px; top: 3px; background: #8a96b8; border-radius: 50%; transition: .25s; }
.ck-switch input:checked + .ck-slider { background: var(--grad); border-color: transparent; }
.ck-switch input:checked + .ck-slider::before { transform: translateX(20px); background: #03121A; }
.ck-modal-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.ck-modal-actions .ck-btn { flex: 1; min-width: 130px; text-align: center; }

.ck-fab {
  position: fixed; left: 18px; bottom: 18px; z-index: 190; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--cyan);
  background: rgba(9,12,22,.85); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  box-shadow: 0 10px 28px rgba(0,0,0,.45); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ck-fab:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: var(--glow); }
.ck-fab svg { width: 24px; height: 24px; }

/* ---------- certificazioni (Chi siamo) ---------- */
.cert-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--text);
  padding: 9px 14px 9px 11px; border-radius: 100px;
  background: rgba(5,7,14,.5); border: 1px solid var(--line-2); transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cert-badge::before {
  content: "✓"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  font-size: 10px; color: #03121A; background: var(--grad); flex-shrink: 0;
}
.cert-badge:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--glow); }

/* ---------- contact form pop-up ---------- */
.cf-modal { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: 20px;
  background: rgba(3,5,11,.66); backdrop-filter: blur(7px); opacity: 0; transition: opacity .25s; }
.cf-modal.show { opacity: 1; }
.cf-modal[hidden] { display: none; }
.cf-card {
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; position: relative;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 34px;
  box-shadow: 0 40px 90px rgba(0,0,0,.6); transform: translateY(16px) scale(.98); transition: transform .25s;
}
.cf-modal.show .cf-card { transform: none; }
.cf-card::after { content:""; position:absolute; top:0; left:0; right:0; height:3px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--grad); }
.cf-close { position: absolute; top: 18px; right: 20px; background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; transition: color .2s; }
.cf-close:hover { color: var(--text); }
.cf-title { font-size: 24px; margin: 14px 0 8px; }
.cf-sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm); font-size: 15px; font-family: var(--font);
  background: rgba(5,7,14,.6); border: 1px solid var(--line-2); color: var(--text); resize: vertical; min-height: 110px; line-height: 1.5;
}
.field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(39,240,210,.15); }
.field textarea.err, .field input.err { border-color: #FF6B6B; box-shadow: 0 0 0 3px rgba(255,107,107,.12); }
.cf-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); margin: 4px 0 22px; cursor: pointer; }
.cf-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--cyan); flex-shrink: 0; }
.cf-consent a { color: var(--cyan); text-decoration: underline; }
.cf-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cf-actions .btn { flex: 1; justify-content: center; min-width: 150px; }
.cf-feedback { font-size: 13.5px; margin-top: 16px; min-height: 1px; }
.cf-feedback.ok { color: var(--cyan); }
.cf-feedback.bad { color: #FF6B6B; }
.cf-feedback a { color: var(--cyan); text-decoration: underline; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } .cf-card { padding: 24px; } }

/* legal / policy pages */
.legal-page { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 90px; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-wrap h1 { font-size: clamp(32px, 5vw, 48px); margin: 18px 0 10px; }
.legal-wrap .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 40px; }
.legal-wrap h2 { font-size: 22px; margin: 38px 0 14px; font-family: var(--display); }
.legal-wrap h3 { font-size: 17px; margin: 24px 0 10px; color: var(--cyan); }
.legal-wrap p, .legal-wrap li { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.legal-wrap ul { margin: 12px 0 12px 22px; display: grid; gap: 8px; }
.legal-wrap a { color: var(--cyan); text-decoration: underline; }
.legal-wrap .note { background: var(--grad-soft); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 16px 20px; font-size: 14px; color: var(--muted); margin: 18px 0; }
.legal-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 18px 0; }
.legal-table th, .legal-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.legal-table th { background: rgba(255,255,255,.025); font-family: var(--display); color: var(--cyan); font-weight: 600; }
.legal-table td { color: var(--muted); }
.legal-table tr:last-child td { border-bottom: 0; }

@media (max-width: 760px) {
  .ck-inner { flex-direction: column; align-items: stretch; text-align: left; gap: 16px; }
  .ck-actions { flex-direction: column; }
  .ck-actions .ck-btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
