:root{
  --asg-bg:#061f33;
  --asg-bg2:#031523;
  --asg-fluo:#dfff00;
  --asg-text:#ffffff;
  --asg-card:#ffffff;
  --asg-muted:#53616d;
  --asg-dark:#061f33;
  --asg-border:rgba(223,255,0,.45);
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:linear-gradient(
    180deg,
    var(--asg-bg) 0%,
    var(--asg-bg2) 100%
  );
  color:var(--asg-text);
  min-height:100vh;
}

.asg-page{
  max-width:980px;
  margin:0 auto;
  padding:32px 16px 54px;
}

.asg-top{
  margin-bottom:24px;
}

.asg-back{
  display:inline-block;
  color:var(--asg-fluo);
  text-decoration:none;
  font-weight:800;
  margin-bottom:22px;
}

.asg-back:visited{
  color:var(--asg-fluo);
}

.asg-back:hover{
  color:#ffffff;
}

.asg-hero{
  border:1px solid var(--asg-border);
  background:rgba(223,255,0,.08);
  border-radius:24px;
  padding:28px;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}

.asg-badge{
  display:inline-block;
  background:var(--asg-fluo);
  color:var(--asg-dark);
  padding:7px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.4px;
  margin-bottom:14px;
}

h1{
  margin:0 0 12px;
  font-size:38px;
  line-height:1.1;
  color:var(--asg-fluo);
  text-transform:uppercase;
}

.asg-hero p{
  margin:0;
  color:#ffffff;
  font-size:18px;
  line-height:1.55;
  font-weight:600;
}

/* Introduzione sopra lo strumento */

.asg-intro{
  margin-top:24px;
  padding:20px;
  border-radius:18px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(223,255,0,.30);
  color:#ffffff;
  line-height:1.65;
}

.asg-intro strong{
  color:var(--asg-fluo);
  font-size:17px;
}

.asg-intro p{
  margin:8px 0 0;
  color:#ffffff;
}

/* Area funzionale originale */

.asg-tool{
  margin-top:24px;
  background:var(--asg-card);
  color:var(--asg-dark);
  border-radius:24px;
  padding:26px;
  box-shadow:0 14px 34px rgba(0,0,0,.30);
  border-top:7px solid var(--asg-fluo);
}

label{
  display:block;
  font-weight:900;
  margin:14px 0 8px;
  color:var(--asg-dark);
}

input[type="text"],
input[type="url"],
input[type="number"],
select,
textarea{
  width:100%;
  border:2px solid #d8e1e6;
  border-radius:14px;
  padding:14px;
  font-size:16px;
  color:var(--asg-dark);
  background:#ffffff;
  outline:none;
}

textarea{
  min-height:170px;
  resize:vertical;
}

input:focus,
textarea:focus,
select:focus{
  border-color:var(--asg-fluo);
  box-shadow:0 0 0 4px rgba(223,255,0,.25);
}

.asg-row{
  display:grid;
  grid-template-columns:repeat(
    auto-fit,
    minmax(180px,1fr)
  );
  gap:16px;
}

.asg-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

button,
.asg-button{
  border:0;
  cursor:pointer;
  background:var(--asg-dark);
  color:var(--asg-fluo);
  padding:13px 18px;
  border-radius:999px;
  font-size:15px;
  font-weight:900;
  text-decoration:none;
  display:inline-block;
  transition:
    filter .2s ease,
    transform .2s ease;
}

button.secondary{
  background:#e9eef2;
  color:var(--asg-dark);
}

button:hover,
.asg-button:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
}

button:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
}

.asg-result{
  margin-top:20px;
  border:1px solid #dce5ea;
  background:#f4f8fa;
  border-radius:18px;
  padding:18px;
  color:var(--asg-dark);
}

.asg-result strong{
  color:var(--asg-dark);
}

.asg-small{
  color:var(--asg-muted);
  font-size:14px;
  line-height:1.5;
}

.asg-stats{
  display:grid;
  grid-template-columns:repeat(
    auto-fit,
    minmax(140px,1fr)
  );
  gap:12px;
  margin-top:18px;
}

.asg-stat{
  background:#f4f8fa;
  border:1px solid #dce5ea;
  border-radius:16px;
  padding:14px;
}

.asg-stat b{
  display:block;
  font-size:28px;
  color:var(--asg-dark);
}

.asg-stat span{
  font-size:13px;
  color:var(--asg-muted);
  font-weight:800;
}

.asg-warning{
  border-left:6px solid #dfff00;
  background:#fffbe8;
  padding:14px;
  border-radius:12px;
  line-height:1.5;
}

.preview-img{
  max-width:100%;
  border-radius:14px;
  border:1px solid #dce5ea;
  margin-top:12px;
}

/* Blocco social e recensione */

.asg-note{
  margin-top:24px;
  padding:22px;
  border-radius:18px;
  background:rgba(223,255,0,.10);
  border:1px solid rgba(223,255,0,.35);
  color:#ffffff;
  line-height:1.6;
}

.asg-note > strong{
  color:var(--asg-fluo);
}

/* Pulsanti Instagram e Facebook */

.asg-social-buttons{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  margin-top:18px;
}

.asg-social-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:fit-content;
  max-width:100%;
  padding:13px 18px;
  border-radius:14px;
  background:#dfff00;
  color:#06131d !important;
  font-weight:800;
  line-height:1;
  text-decoration:none !important;
  border:1px solid rgba(223,255,0,.8);
  box-shadow:0 0 18px rgba(223,255,0,.25);
  transition:
    background-color .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.asg-social-btn svg{
  width:22px;
  height:22px;
  fill:currentColor;
  flex:0 0 auto;
}

.asg-social-btn:visited{
  color:#06131d !important;
}

.asg-social-btn:hover{
  background:#ffffff;
  color:#06131d !important;
  box-shadow:0 0 22px rgba(255,255,255,.25);
  transform:translateY(-1px);
}

/* Sezione recensione Google */

.asg-review-box{
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid rgba(223,255,0,.25);
}

.asg-review-text{
  margin:0 0 14px;
  color:#ffffff;
  line-height:1.6;
}

.asg-review-text strong{
  color:#deff00;
}

.asg-review-stars{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:6px;
  margin:0 0 18px;
}

.asg-review-stars span{
  display:inline-block;
  color:#deff00;
  font-size:23px;
  line-height:1;
  text-shadow:0 0 8px rgba(222,255,0,.22);
}

/* Pulsante recensione Google */

.google-review-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:fit-content;
  max-width:100%;
  padding:12px 18px;
  border-radius:14px;
  background:#ffffff;
  color:#d93025 !important;
  font-size:15px;
  font-weight:800;
  line-height:1.25;
  text-align:center;
  text-decoration:none !important;
  border:1px solid #d8d8d8;
  box-shadow:0 4px 14px rgba(0,0,0,.16);
  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.google-review-btn:visited{
  color:#d93025 !important;
}

.google-review-btn:hover{
  background:#f5f5f5;
  color:#c5221f !important;
  border-color:#cfcfcf;
  box-shadow:0 6px 18px rgba(0,0,0,.20);
  transform:translateY(-1px);
}

.google-review-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.google-review-icon svg{
  display:block;
  width:21px;
  height:21px;
}

/* Blocco finale assistenza */

.asg-assistance{
  margin-top:24px;
  padding:20px;
  border-radius:18px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16);
  color:#ffffff;
  line-height:1.6;
}

.asg-assistance strong{
  color:var(--asg-fluo);
}

/* Versione mobile */

@media(max-width:700px){

  .asg-page{
    padding:22px 13px 44px;
  }

  .asg-hero,
  .asg-tool{
    padding:20px;
  }

  h1{
    font-size:29px;
  }

  .asg-hero p{
    font-size:16px;
  }

}

@media(max-width:600px){

  .asg-social-buttons{
    align-items:stretch;
  }

  .asg-social-btn,
  .google-review-btn{
    width:100%;
  }

}