:root{
  --navy-950:#06101f;
  --navy-900:#0b1728;
  --navy-800:#111f34;
  --text:#15223a;
  --muted:#69758a;
  --blue:#1677ff;
  --green:#10a66f;
  --purple:#7147f4;
  --orange:#ff8a24;
  --line:#dfe7f1;
  --shadow:0 18px 45px rgba(30,50,82,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:#eef3f9;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.topbar{
  min-height:108px;
  display:flex;
  align-items:center;
  gap:30px;
  padding:12px clamp(28px,5vw,76px);
  background:rgba(255,255,255,.98);
  border-bottom:1px solid rgba(218,227,239,.92);
  backdrop-filter:blur(16px);
}
.brand{
  display:flex;
  align-items:center;
  gap:17px;
  margin-right:auto;
  text-decoration:none;
}
.brand img{
  width:110px;
  height:110px;
  object-fit:contain;
  filter:drop-shadow(0 8px 13px rgba(0,0,0,.10));
}
.brand-copy{display:flex;flex-direction:column;line-height:1.08}
.brand-copy small{
  color:#2c3b55;
  font-size:14px;
  letter-spacing:.035em;
}
.brand-copy strong{
  margin-top:6px;
  color:#0d1930;
  font-size:clamp(19px,1.8vw,28px);
  font-weight:700;
  letter-spacing:-.025em;
}
.navigation{display:flex;align-items:center;gap:40px}
.navigation a{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:18px 0;
  color:#17243a;
  text-decoration:none;
  font-size:15px;
}
.navigation a svg{width:18px;height:18px}
.navigation a.active,.navigation a:hover{color:var(--blue)}
.navigation a.active::after{
  content:"";
  position:absolute;
  right:0;bottom:6px;left:0;
  height:2px;
  border-radius:99px;
  background:var(--blue);
}
.header-actions{display:flex;align-items:center;gap:16px}
.help-button,.theme-button{
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:13px;
  color:#15223a;
  background:#fff;
  box-shadow:0 8px 22px rgba(30,50,82,.06);
}
.help-button{gap:9px;padding:0 18px;text-decoration:none;font-weight:700}
.help-button span{
  width:22px;height:22px;
  display:grid;place-items:center;
  border:2px solid currentColor;
  border-radius:50%;
  font-size:14px;
}
.theme-button{width:50px;padding:0}
.theme-button svg{width:24px;height:24px}

.hero{
  position:relative;
  min-height:470px;
  display:grid;
  grid-template-columns:minmax(0,1.17fr) minmax(390px,.83fr);
  align-items:center;
  gap:clamp(55px,8vw,120px);
  padding:38px clamp(30px,9vw,160px) 38px;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 10%,rgba(35,110,255,.055),transparent 25rem),
    linear-gradient(180deg,#fff 0%,#fcfdff 100%);
}
.hero-wave{
  position:absolute;
  z-index:0;
  inset:auto 0 0;
  height:230px;
  pointer-events:none;
}
.hero-wave svg{width:100%;height:100%;overflow:visible}
.wave-line{fill:none;stroke:rgba(40,115,255,.18);stroke-width:1.2}
.wave-2{opacity:.72}
.wave-3{opacity:.48}
.wave-glow{
  fill:none;
  stroke:url(#waveStroke);
  stroke-width:2.6;
  filter:url(#softBlur);
  animation:waveGlow 4.5s ease-in-out infinite;
}
.particles circle{fill:#3b82f6;stroke:none;opacity:.14}

.hero-copy,.login-card{position:relative;z-index:1}
.hero-copy{max-width:650px}
.hero h1{
  margin:0;
  color:#0e1b33;
  font-size:clamp(46px,4.3vw,68px);
  font-weight:430;
  line-height:1.12;
  letter-spacing:-.045em;
}
.hero h1 span{
  color:var(--blue);
  text-shadow:0 0 28px rgba(22,119,255,.10);
}
.hero-description{
  max-width:610px;
  margin:23px 0 27px;
  color:#56647b;
  font-size:17px;
  line-height:1.72;
}
.hero-description strong{color:var(--blue);font-weight:600}

.trust-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  max-width:640px;
  padding:15px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  backdrop-filter:blur(12px);
}
.trust-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 14px;
}
.trust-item+.trust-item{border-left:1px solid var(--line)}
.trust-icon{
  flex:0 0 auto;
  width:34px;height:34px;
  color:var(--blue);
}
.trust-icon svg{width:100%;height:100%}
.trust-item p{display:flex;flex-direction:column;margin:0}
.trust-item strong{color:#15223a;font-size:14px}
.trust-item small{margin-top:3px;color:var(--muted);white-space:nowrap}

.login-card{
  width:min(100%,500px);
  justify-self:end;
  padding:22px 34px 24px;
  text-align:center;
  border:1px solid rgba(255,255,255,.20);
  border-radius:18px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018)),
    #0f1a2c;
  box-shadow:0 22px 60px rgba(12,27,50,.22);
  color:white;
}
.wifi-rings{
  position:relative;
  width:116px;height:116px;
  display:grid;place-items:center;
  margin:0 auto 8px;
}
.wifi-rings span{
  position:absolute;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
  animation:pulseRing 3.4s ease-in-out infinite;
}
.wifi-rings span:nth-child(1){inset:0}
.wifi-rings span:nth-child(2){inset:13px;animation-delay:.25s}
.wifi-rings span:nth-child(3){inset:26px;animation-delay:.5s}
.wifi-rings svg{
  position:relative;
  z-index:2;
  width:58px;height:58px;
  color:var(--blue);
  stroke-width:5;
  filter:drop-shadow(0 0 14px rgba(22,119,255,.35));
}
.login-card h2{
  margin:5px 0 8px;
  color:#fff;
  font-size:29px;
  letter-spacing:-.02em;
}
.login-card>p{
  max-width:360px;
  margin:0 auto 22px;
  color:rgba(238,243,250,.76);
  font-size:16px;
  line-height:1.58;
}
.google-button{
  width:100%;
  min-height:61px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  padding:13px 20px;
  color:#fff;
  border-radius:12px;
  background:linear-gradient(135deg,#1677ff,#2469ee);
  box-shadow:0 14px 30px rgba(22,119,255,.27),inset 0 1px 0 rgba(255,255,255,.22);
  text-decoration:none;
  font-size:18px;
  font-weight:700;
  transition:transform .18s ease,box-shadow .18s ease;
}
.google-button:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(22,119,255,.34),inset 0 1px 0 rgba(255,255,255,.22);
}
.google-logo{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#fff;
}
.google-logo svg{width:22px;height:22px}
.secure-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin-top:22px;
  color:rgba(238,243,250,.70);
}
.secure-note svg{width:18px;height:18px}

.light-zone{
  padding:22px clamp(30px,9vw,160px) 24px;
  background:
    radial-gradient(circle at 15% 10%,rgba(35,99,235,.035),transparent 25rem),
    #fff;
}
.section-heading{text-align:center}
.section-heading h2{
  margin:0;
  color:#111d31;
  font-size:31px;
  letter-spacing:-.02em;
}
.section-heading p{margin:7px 0 22px;color:var(--muted)}
.steps{
  max-width:1140px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
  margin:0 auto;
}
.step-card{
  position:relative;
  min-height:145px;
  display:flex;
  align-items:center;
  gap:18px;
  padding:21px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  box-shadow:var(--shadow);
  transition:transform .18s ease,box-shadow .18s ease;
}
.step-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 42px rgba(30,50,82,.12);
}
.step-icon{
  flex:0 0 auto;
  width:72px;height:72px;
  display:grid;place-items:center;
  border-radius:50%;
}
.step-icon svg{width:39px;height:39px}
.step-icon.blue{color:var(--blue);background:#eaf2ff}
.step-icon.green{color:var(--green);background:#eaf9f3}
.step-icon.purple{color:var(--purple);background:#f1edff}
.step-number{
  position:absolute;
  top:17px;left:103px;
  width:24px;height:24px;
  display:grid;place-items:center;
  color:#fff;
  border-radius:50%;
  font-size:12px;
  font-weight:800;
}
.blue-bg{background:var(--blue)}
.green-bg{background:var(--green)}
.purple-bg{background:var(--purple)}
.step-card h3{margin:9px 0 6px;color:#15223a;font-size:17px}
.step-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}

.features{
  max-width:1140px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:18px auto 0;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  box-shadow:var(--shadow);
}
.features article{
  display:flex;
  align-items:center;
  gap:13px;
  padding:4px 18px;
}
.features article+article{border-left:1px solid var(--line)}
.feature-icon{flex:0 0 auto;width:39px;height:39px}
.feature-icon svg{width:100%;height:100%}
.blue{color:var(--blue)}
.green{color:var(--green)}
.purple{color:var(--purple)}
.orange{color:var(--orange)}
.features h3{margin:0 0 4px;color:#14223a;font-size:14px}
.features p{margin:0;color:var(--muted);font-size:13px}

footer{
  min-height:76px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:25px;
  padding:10px clamp(28px,5vw,76px);
  color:#5c687b;
  background:#fff;
  border-top:1px solid var(--line);
  font-size:13px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#17243a;
}
.footer-brand img{
  width:58px;height:50px;
  object-fit:contain;
}
footer p{text-align:center}
footer nav{
  justify-self:end;
  display:flex;
  gap:24px;
}
footer nav a{text-decoration:none}
footer nav a:hover{color:var(--blue)}

.reveal{
  opacity:0;
  transform:translateY(14px);
  animation:reveal .70s cubic-bezier(.2,.75,.25,1) forwards;
}
.reveal-delay{animation-delay:.14s}
.reveal-delay-small{animation-delay:.08s}
.reveal-delay-medium{animation-delay:.16s}

@keyframes reveal{to{opacity:1;transform:translateY(0)}}
@keyframes pulseRing{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.055);opacity:.62}}
@keyframes waveGlow{0%,100%{opacity:.72}50%{opacity:1}}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
  }
}
@media(max-width:1120px){
  .navigation{display:none}
  .hero{
    grid-template-columns:1fr;
    gap:30px;
    padding-top:28px;
  }
  .login-card{justify-self:start}
  .steps{grid-template-columns:repeat(2,1fr)}
  .features{grid-template-columns:repeat(2,1fr)}
  .features article:nth-child(3){border-left:0}
}
@media(max-width:720px){
  .topbar{
    min-height:84px;
    padding:8px 16px;
  }
  .brand{gap:10px}
  .brand img{width:78px;height:66px}
  .brand-copy small{font-size:9px}
  .brand-copy strong{font-size:14px}
  .header-actions{display:none}
  .hero{
    padding:30px 18px 38px;
  }
  .hero h1{font-size:42px}
  .hero-description{
    font-size:16px;
    line-height:1.62;
  }
  .trust-strip{grid-template-columns:1fr}
  .trust-item{padding:9px 4px}
  .trust-item+.trust-item{
    border-top:1px solid var(--line);
    border-left:0;
  }
  .login-card{padding:23px 18px}
  .light-zone{padding:22px 18px}
  .steps,.features{grid-template-columns:1fr}
  .features article+article{
    border-top:1px solid var(--line);
    border-left:0;
  }
  footer{
    grid-template-columns:1fr;
    text-align:center;
  }
  .footer-brand,footer nav{justify-self:center}
  footer p{margin:0}
}


/* V1.0 — logo istituzionale vettoriale */
.brand img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
@media (max-width: 720px) {
  .brand img { width: 90px; height: 90px; }
}
