/* SentinelSuite — landing statica (porting 1:1 del sito di test Macaly).
   Nessuna dipendenza esterna: system font, niente CDN, niente build. */

:root {
  --background: 250 45% 4%;
  --foreground: 245 30% 96%;
  --secondary: 250 30% 14%;
  --muted-foreground: 245 15% 68%;
  --border: 258 40% 20%;
  --ss-violet: 262 83% 66%;
  --ss-violet-soft: 265 70% 78%;
  --ss-orange: 27 95% 61%;
  --ss-amber: 38 96% 60%;
  --ss-panel: 250 40% 7%;
  --ss-panel-2: 252 35% 10%;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --maxw: 80rem;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  line-height: 1.5;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font); line-height: 1.2; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
.wrap-sm { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
.wrap-xs { max-width: 48rem; margin: 0 auto; padding: 0 1rem; text-align: center; position: relative; }
.section { position: relative; padding: 5rem 0; }
.section-alt { border-block: 1px solid hsl(var(--border) / .6); background: hsl(var(--ss-panel) / .4); }
.section-head { max-width: 48rem; margin: 0 auto; text-align: center; }
.eyebrow { margin-bottom: .75rem; font-size: .75rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: hsl(var(--ss-orange)); }
.section-head h2, .wrap-xs h2 { font-size: 1.875rem; font-weight: 700; }
.section-head p:not(.eyebrow) { margin-top: 1rem; color: hsl(var(--muted-foreground)); }
.grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; }

/* ---------- gradienti / bottoni ---------- */
.text-gradient {
  background: linear-gradient(100deg, hsl(var(--ss-violet-soft)) 10%, hsl(var(--ss-violet)) 40%, hsl(var(--ss-amber)) 85%);
  color: transparent; -webkit-background-clip: text; background-clip: text;
}
.btn {
  display: inline-block; border-radius: .5rem; padding: .75rem 1.5rem;
  font-size: .875rem; font-weight: 600; line-height: 1.25rem;
}
.btn-gradient {
  background: linear-gradient(95deg, hsl(var(--ss-violet)) 0%, hsl(var(--ss-orange)) 100%);
  color: #fff; box-shadow: 0 4px 24px hsl(var(--ss-violet) / .35);
  transition: transform .2s, box-shadow .3s, filter .2s;
}
.btn-gradient:hover { filter: brightness(1.1); box-shadow: 0 8px 32px hsl(var(--ss-violet) / .5), 0 4px 18px hsl(var(--ss-orange) / .35); transform: translateY(-1px); }
.btn-ghost { border: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / .6); transition: border-color .2s; }
.btn-ghost:hover { border-color: hsl(var(--ss-violet) / .5); }

/* ---------- card ---------- */
.glass-card {
  background: linear-gradient(160deg, hsl(var(--ss-panel-2)) 0%, hsl(var(--ss-panel)) 100%);
  border: 1px solid hsl(var(--border) / .7); border-radius: 1rem; padding: 1.5rem;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.glass-card:hover { border-color: hsl(var(--ss-violet) / .45); box-shadow: 0 12px 40px hsl(var(--ss-violet) / .12); transform: translateY(-3px); }
.icon-box {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 3rem; height: 3rem; border-radius: .75rem;
  border: 1px solid hsl(var(--border)); background: hsl(var(--secondary) / .7);
}
.icon-box img { width: 1.5rem; height: 1.5rem; }
.icon-box.product { width: 3.5rem; height: 3.5rem; }
.icon-box.product img { width: 2.25rem; height: 2.25rem; }
.card-text { margin-top: .75rem; font-size: .875rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / .6);
  background: hsl(var(--background) / .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.brand { font-size: 1.125rem; font-weight: 700; letter-spacing: .025em; }
.nav { display: none; align-items: center; gap: 1.5rem; }
.nav a { font-size: .875rem; color: hsl(var(--muted-foreground)); transition: color .2s; }
.nav a:hover { color: hsl(var(--foreground)); }
.site-header .btn { padding: .5rem 1rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 7rem; }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 70% 20%, hsl(var(--ss-violet) / .16), transparent 65%),
    radial-gradient(ellipse 45% 40% at 20% 80%, hsl(var(--ss-orange) / .1), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 0%, #2b145259, transparent 70%);
}
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(hsl(var(--ss-violet) / .05) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--ss-violet) / .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(#000 0%, transparent 85%); mask-image: linear-gradient(#000 0%, transparent 85%);
}
.hero .wrap { position: relative; padding-bottom: 4rem; }
.hero-grid { display: grid; align-items: center; gap: 3rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  border: 1px solid hsl(var(--border)); border-radius: 999px; background: hsl(var(--secondary) / .6);
  padding: .375rem 1rem; font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--muted-foreground));
}
.pill i { width: .375rem; height: .375rem; border-radius: 50%; background: hsl(var(--ss-orange)); }
.hero h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.15; }
.hero-lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 32rem; margin-top: 2.5rem; padding: 0; }
.stat { border: 1px solid hsl(var(--border) / .7); border-radius: .75rem; background: hsl(var(--ss-panel) / .6); padding: .75rem 1rem; }
.stat b { display: block; font-size: 1.25rem; font-weight: 700; color: hsl(var(--ss-violet-soft)); }
.stat span { display: block; margin-top: .125rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -1.5rem; border-radius: 2rem; opacity: .6; filter: blur(40px);
  background: radial-gradient(ellipse at 60% 40%, hsl(262 83% 66% / .25), transparent 60%), radial-gradient(ellipse at 30% 70%, hsl(27 95% 61% / .2), transparent 55%);
}
.shot { position: relative; width: 100%; border: 1px solid hsl(var(--border) / .7); border-radius: 1rem; box-shadow: 0 25px 50px -12px rgb(0 0 0 / .5); }

/* fade-up all'ingresso */
@keyframes ss-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.anim { animation: .7s ease-out both ss-fade-up; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .34s; } .d4 { animation-delay: .46s; }
@media (prefers-reduced-motion: reduce) { .anim { animation: none; } html { scroll-behavior: auto; } .glass-card, .btn-gradient { transition: none; } }

/* ---------- panoramica ---------- */
.overview { padding: 4rem 0; }
.overview figure { margin-top: 3rem; }
.overview figcaption { margin-top: .75rem; text-align: center; font-size: .75rem; color: hsl(var(--muted-foreground)); }

/* ---------- suite ---------- */
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.card-title { display: flex; align-items: center; gap: 1rem; }
.card-title h3 { font-size: 1.25rem; font-weight: 700; }
.c-violet { color: hsl(var(--ss-violet-soft)); }
.c-orange { color: hsl(var(--ss-orange)); }
.badge { flex-shrink: 0; border: 1px solid; border-radius: 999px; padding: .25rem .75rem; font-size: 11px; font-weight: 500; text-align: right; }
.badge.violet { border-color: hsl(var(--ss-violet) / .4); color: hsl(var(--ss-violet-soft)); }
.badge.orange { border-color: hsl(var(--ss-orange) / .4); color: hsl(var(--ss-orange)); }
.badge.amber { border-color: hsl(var(--ss-amber) / .4); color: hsl(var(--ss-amber)); }
.ticks { margin-top: 1.25rem; display: grid; gap: .5rem; }
.ticks li { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: hsl(var(--foreground) / .9); }
.ticks li::before { content: ""; flex-shrink: 0; margin-top: .4375rem; width: .375rem; height: .375rem; border-radius: 50%; background: hsl(var(--ss-violet)); }
#suite .glass-card { padding: 1.5rem; }
#suite .card-text { margin-top: 1.25rem; }

/* ---------- integrazione / compliance ---------- */
.glass-card h3.t { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 700; }
.fw { font-size: 1.125rem; font-weight: 700; }

/* ---------- licenze ---------- */
.table-wrap { margin-top: 3rem; overflow: hidden; border: 1px solid hsl(var(--border) / .7); border-radius: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead tr { background: hsl(var(--secondary) / .8); text-align: left; }
th, td { padding: 1rem 1.5rem; text-align: left; }
thead th { font-weight: 600; }
tbody tr { border-top: 1px solid hsl(var(--border) / .6); }
tbody th { font-weight: 500; }
.muted { color: hsl(var(--muted-foreground)); }

/* ---------- contatti ---------- */
.contact { position: relative; overflow: hidden; }
.contact-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, hsl(262 83% 66% / .12), transparent 65%), radial-gradient(ellipse 40% 50% at 80% 0%, hsl(27 95% 61% / .08), transparent 60%);
}
.contact img.puzzle { width: 2.5rem; height: 2.5rem; margin: 0 auto; }
.contact h2 { margin-top: 1.5rem; }
.contact p.lead { margin-top: 1rem; color: hsl(var(--muted-foreground)); }
.contact .cta-row { justify-content: center; margin-top: 2rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid hsl(var(--border) / .6); background: hsl(var(--ss-panel) / .6); }
.site-footer .wrap { padding-block: 3rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-logo { height: 3.5rem; width: auto; }
.site-footer p, .site-footer address { font-size: .875rem; color: hsl(var(--muted-foreground)); }
.site-footer .about { margin-top: 1rem; }
.site-footer h3 { font-size: .875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.links { margin-top: 1rem; display: grid; gap: .625rem; }
.links a { display: inline-flex; align-items: center; gap: .625rem; font-size: .875rem; color: hsl(var(--muted-foreground)); transition: color .2s; }
.links a:hover, address a:hover { color: hsl(var(--foreground)); }
.links img { width: 1rem; height: 1rem; opacity: .8; }
address { margin-top: 1rem; font-style: normal; display: grid; gap: .375rem; }
.copy { margin-top: 2.5rem; border-top: 1px solid hsl(var(--border) / .6); padding-top: 1.5rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .wrap, .wrap-sm, .wrap-xs { padding-inline: 1.5rem; }
  .hero { padding-top: 8rem; }
  .hero h1 { font-size: 3rem; }
  .section { padding: 7rem 0; }
  .overview { padding: 5rem 0; }
  .section-head h2, .wrap-xs h2 { font-size: 2.25rem; }
  #suite .grid, #compliance .grid { grid-template-columns: repeat(2, 1fr); }
  #suite .glass-card { padding: 2rem; }
  #integrazione .glass-card { padding: 2rem; }
}
@media (min-width: 768px) {
  .nav { display: flex; }
  #integrazione .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .hero .wrap { padding-bottom: 6rem; }
  .hero-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 3.75rem; }
  #compliance .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .card-top { flex-direction: column; }
  .badge { text-align: left; }
  th, td { padding: .875rem 1rem; }
}
