@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;900&display=swap');
html,body{margin:0;padding:0;background:#0A0E1A!important;font-family:'Outfit',Arial,sans-serif;color:#fff;box-sizing:border-box;width:100vw;min-height:100vh;overflow-x:hidden;}
#webspeed-analyzer-frontend,.webspeed-analyzer-frontend{width:90vw;max-width:1300px;margin:32px auto;padding:0 0 40px 0;background:rgba(20,24,38,0.35);backdrop-filter:blur(30px);border-radius:28px;box-shadow:0 12px 48px rgba(0,0,0,0.48),0 1px 8px #40FF9780;border:1.3px solid rgba(255,255,255,0.09);transition:max-width .3s;box-sizing:border-box;}
#webspeed-hero-logo{display:flex;justify-content:center;align-items:center;margin-top:22px;margin-bottom:6px;}
#webspeed-logo{max-width:200px;width:100%;height:auto;display:block;margin:0 auto;transition:max-width .2s;}
#webspeed-hero{width:100%;margin:0 auto 18px auto;text-align:center;padding:5px 8vw 10px 8vw;background:none;box-sizing:border-box;}
#webspeed-hero-title{font-size:2.2em;font-weight:900;color:#fff;letter-spacing:.01em;margin-bottom:12px;margin-top:5px;line-height:1.14;text-shadow:0 2px 12px #0004,0 1px 2px #fff1;}
#webspeed-hero-desc{font-size:1.18em;color:#e9e9f7;opacity:.96;margin-bottom:18px;font-weight:500;line-height:1.43;max-width:96vw;margin-left:auto;margin-right:auto;}
#webspeed-analyzer-form{display:flex;flex-direction:column;gap:15px;width:100%;max-width:97vw;margin:0 auto;align-items:center;box-sizing:border-box;}
#webspeed-url{width:100%;max-width:99vw;padding:15px 14px;font-size:1.13em;border:1.7px solid #2d334a;border-radius:14px;background:#131926;color:#f3f7fb;box-shadow:0 2px 12px #20253618;font-weight:600;outline:none;transition:border .16s,box-shadow .15s;box-sizing:border-box;text-align:center!important;}
#webspeed-url:focus{border:1.7px solid #40FF97;background:#151a2a;box-shadow:0 0 8px #40FF9755;}
#webspeed-analyze-btn,#webspeed-next-btn,.cta-funnel-btn{width:100%;border-radius:20px;font-weight:900;color:#111;background:linear-gradient(90deg,#40FF97,#50F7E1);box-shadow:0 7px 38px rgba(80,247,225,0.22);padding:15px 0;font-size:1.14em;transition:transform .2s,box-shadow .2s,background .16s;}
#webspeed-analyze-btn:hover,#webspeed-next-btn:hover,.cta-funnel-btn:hover{transform:scale(1.04);box-shadow:0 10px 45px rgba(80,247,225,0.34);}
#webspeed-analyze-btn.webspeed-hide{display:none!important;}
#webspeed-wow-messages{color:#40FF97;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,0.29);font-size:1.13em;margin:15px 0 9px 0;padding:0 10px;text-align:center;line-height:1.23;}
#webspeed-wow-progress{width:100%;max-width:600px;margin:23px auto 0 auto;padding:0;position:relative;box-sizing:border-box;}
#webspeed-wow-bar{background:rgba(255,255,255,0.09);border-radius:15px;overflow:hidden;height:15px;margin-bottom:18px;box-shadow:0 1px 8px #40FF9780;border:1.2px solid #40FF9780;width:100%;position:relative;}
#webspeed-wow-bar-inner{display:block;height:15px;width:0;background:linear-gradient(90deg,#40FF97 0%,#50F7E1 100%);transition:width .5s cubic-bezier(.4,1.7,.5,1);border-radius:13px;box-shadow:0 0 12px rgba(80,247,225,0.32);}
#webspeed-wow-steps{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;width:100%;max-width:640px;margin:0 auto 0 auto;padding:0;box-sizing:border-box;gap:0;background:none;}
#webspeed-wow-steps li{flex:1 1 25%;max-width:25%;min-width:125px;box-sizing:border-box;text-align:center;padding:15px 4px 10px 4px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;border-radius:10px;position:relative;}
#webspeed-wow-steps .icon{color:rgba(255,255,255,0.7);display:block;font-size:2.1em;margin-bottom:2px;transition:color .14s;}
#webspeed-wow-steps li.active .icon{color:#50F7E1;}
#webspeed-wow-steps li.done .icon{color:#40FF97;}
#webspeed-wow-steps li.fail .icon{color:#fa5d57;}
#webspeed-wow-steps .label{font-size:1.11em;margin-top:6px;letter-spacing:.01em;font-weight:700;color:#40FF97;}
#webspeed-wow-steps .status{min-height:19px;font-size:1.01em;margin-top:5px;color:#fff;gap:5px;}
#webspeed-wow-timer{font-size:1em;color:#bbb;text-align:center;margin-bottom:0;}
#webspeed-wow-tip{display:none;font-size:.99em;color:#FFBE36;margin-top:8px;margin-bottom:10px;text-align:center;}
#webspeed-wow-final{text-align:center;font-size:1.17em;color:#40FF97;margin-top:19px;text-shadow:0 2px 11px #32FF6A33;font-weight:900;padding:2px 0 0 0;}
#webspeed-wow-final .big-check{font-size:2.1em;}
#webspeed-result-box{display:none;}
/* --- ALLINEAMENTO BOX RISULTATI --- */
@media (min-width:900px){
#webspeed-hero-logo{margin-top:32px;margin-bottom:10px;}
#webspeed-logo{max-width:230px;font-size:1.15em;}
#webspeed-hero{padding:5px 6vw 16px 6vw;}
#webspeed-hero-title{font-size:2.53em;}
#webspeed-hero-desc{font-size:1.36em;}
#webspeed-analyzer-form{gap:20px;}
#webspeed-url{font-size:1.32em;padding:19px 15px;}
#webspeed-analyze-btn{font-size:1.32em;padding:18px 0;}
#webspeed-wow-messages{font-size:1.23em;}
#webspeed-wow-steps .icon{font-size:2.5em;}
#webspeed-wow-steps .label{font-size:1.24em;}
#webspeed-wow-bar,#webspeed-wow-bar-inner{height:19px;}
#webspeed-wow-final{font-size:1.31em;}
#webspeed-wow-final .big-check{font-size:2.4em;}
#webspeed-wow-progress{max-width:750px;}
#webspeed-wow-timer{font-size:1.18em;}
#webspeed-result-box>.main-cols{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:stretch;}
#webspeed-result-box .left-col,#webspeed-result-box .right-col{display:flex;flex-direction:column;gap:18px;height:100%;}
.score-summary-glass,.premium-site-info-box,.premium-vitals-box{height:100%;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start;}
.premium-site-info-box{flex:1 1 0;}
#webspeed-result-box>.suggestion-row{grid-column:1/span 2;margin-top:0;}
/* Margine principale SOLO sui box principali (non sui figli delle colonne) */
#webspeed-result-box,
.premium-vitals-box,
.ai-suggestions-box{
margin:22px 0 18px 0;
}
.premium-site-info-box,
.score-summary-glass{
margin:0!important;
}
#webspeed-result-box,.premium-site-info-box,.premium-vitals-box,.ai-suggestions-box{max-width:100%;font-size:1.17em;padding:26px 22px 20px 22px;}
}
@media (max-width:899px){
#webspeed-analyzer-frontend,.webspeed-analyzer-frontend{width:100%!important;max-width:100%!important;margin:0 auto!important;box-sizing:border-box!important;padding-left:0!important;padding-right:0!important;}
#webspeed-result-box>.main-cols,#webspeed-result-box .left-col,#webspeed-result-box .right-col,#webspeed-result-box>.suggestion-row{display:block!important;width:100%!important;margin:0!important;max-width:100%!important;gap:0!important;}
#webspeed-result-box,.premium-site-info-box,.premium-vitals-box,.ai-suggestions-box{margin-top:14px;margin-bottom:0;max-width:100%!important;width:100%!important;box-sizing:border-box!important;padding-left:0!important;padding-right:0!important;}
.premium-site-info-box,.score-summary-glass{margin:0!important;}
}
@media (max-width:600px){
.score-summary-glass{padding:10px 3px 6px 5px;margin-bottom:11px;}
.result-row .label{min-width:92px;font-size:.95em;}
.result-row .badge{font-size:.97em;padding:4px 8px;min-width:29px;min-height:19px;}
#webspeed-hero-logo{margin-top:10px;}
#webspeed-logo{max-width:120px;}
#webspeed-analyzer-frontend,.webspeed-analyzer-frontend{padding:0 0 18px 0;}
.ai-suggestions-box{font-size:1em!important;padding:10px 6px 9px 10px!important;min-height:40px;}
.ai-suggestions-box ul,.ai-suggestions-box ol{margin-left:11px;}
#webspeed-result-box,.premium-site-info-box,.premium-vitals-box,.ai-suggestions-box{margin-top:10px;border-radius:13px;box-shadow:0 2px 9px rgba(0,0,0,0.14);}
}
@media (max-width:480px){
#webspeed-analyzer-frontend,.webspeed-analyzer-frontend{padding-left:0!important;padding-right:0!important;}
#webspeed-result-box,.premium-site-info-box,.premium-vitals-box,.ai-suggestions-box{padding-left:5px!important;padding-right:5px!important;}
}
#webspeed-result-box,.premium-site-info-box,.premium-vitals-box,.ai-suggestions-box{background:rgba(255,255,255,0.13);border-radius:20px;backdrop-filter:blur(16px);box-shadow:0 8px 32px rgba(0,0,0,0.21);padding:18px 13px 14px 15px;border:none;}
#webspeed-result-box h3{font-size:1.23em;font-weight:800;color:#fff;margin:0 0 13px 0;text-align:left;}
#webspeed-results{margin-bottom:12px;}
#webspeed-site-info .premium-site-info-title{font-size:1.07em;font-weight:700;color:#fff;display:flex;align-items:center;gap:9px;margin-bottom:9px;}
#webspeed-site-info .premium-site-info-list{list-style:none;padding:0;margin:0;}
#webspeed-site-info .premium-site-info-list li{font-size:1.04em;color:#1bdf97;margin-bottom:4px;font-weight:600;display:flex;align-items:baseline;gap:7px;}
#webspeed-site-info b{color:#36e7ad;font-weight:800;}
#webspeed-site-info span{color:#fff;font-weight:700;font-size:1.05em;}
#webspeed-vitals-box .premium-vitals-title{color:#fff;font-size:1.16em;font-weight:800;letter-spacing:.01em;margin-bottom:14px;display:flex;align-items:center;gap:10px;}
#webspeed-vitals-box .vitals-emoji{font-size:1.24em;}
#webspeed-vitals-box .premium-vitals-list{display:flex;flex-direction:column;gap:13px;margin-bottom:10px;}
#webspeed-vitals-box .premium-vitals-row{background:rgba(255,255,255,0.14)!important;border-radius:13px;padding:13px 15px;margin-bottom:2px;display:flex;justify-content:space-between;align-items:center;font-size:1.03em;box-shadow:0 1px 8px rgba(40,80,130,0.07);}
#webspeed-vitals-box .vitals-label{color:#40FF97!important;font-weight:700;font-size:1.09em;letter-spacing:.01em;}
#webspeed-vitals-box .vitals-result{font-size:1.15em;font-weight:900;display:flex;align-items:center;gap:11px;min-width:85px;justify-content:flex-end;}
#webspeed-vitals-box .vitals-result .success{color:#40FF97;filter:drop-shadow(0 0 8px #86ffc9b3);font-weight:900;font-size:1.05em;}
#webspeed-vitals-box .vitals-result .fail{color:#e63348;filter:drop-shadow(0 0 8px #ffcfcf9e);font-weight:900;font-size:1.05em;}
#webspeed-vitals-box .premium-vitals-desc{margin-top:16px;font-size:1.02em;color:#56d2e8;opacity:.97;line-height:1.39;background:none;border:none;padding:0;}
.ai-suggestions-box{background:rgba(255,255,255,0.13)!important;color:#fff!important;box-shadow:0 7px 24px rgba(0,0,0,0.23)!important;border-radius:20px!important;padding:16px 13px 13px 18px!important;font-size:1.09em;line-height:1.53;min-height:56px;transition:box-shadow .2s;text-align:justify!important;}
.ai-suggestions-box ul,.ai-suggestions-box ol{margin:0 0 0 18px;padding:0;color:#40FF97;font-weight:600;}
.ai-suggestions-box li{margin-bottom:10px;font-size:1.06em;color:#40FF97;line-height:1.54;font-family:inherit;}
#webspeed-downloads{margin-top:16px;}
#webspeed-next-btn{margin-top:12px;}
#webspeed-next-btn:active{transform:scale(.98);}
#webspeed-downloads a{display:inline-block;color:#40FF97!important;font-weight:700;margin-right:17px;margin-bottom:6px;text-decoration:underline;font-size:1.02em;}
.score-summary-glass{background:rgba(255,255,255,0.13);border-radius:20px;box-shadow:0 4px 22px #0A0E1A2a,0 1px 4px #40FF9791;padding:21px 23px 15px 23px;margin:0!important;display:flex;flex-direction:column;gap:9px;}
.score-summary-glass h3{font-size:1.22em;font-weight:800;color:#fff;margin:0 0 11px 0;text-align:left;padding:0;}
.result-row{display:flex;align-items:center;justify-content:flex-start;gap:12px;font-size:1.16em;font-weight:600;flex-wrap:nowrap;}
.result-row:not(:last-child){margin-bottom:8px;}
.result-row .label{flex:0 0 auto;min-width:155px;color:#fff;font-weight:700;font-size:1em;text-align:left;letter-spacing:.01em;white-space:nowrap;}
.result-row .badge{margin-left:10px;margin-bottom:0;box-shadow:0 0 6px #40FF9750,0 1px 5px #181b2080;font-size:1.12em;min-width:46px;min-height:32px;padding:6px 16px;display:flex;align-items:center;justify-content:center;white-space:nowrap;}
.badge{border-radius:8px;padding:6px 13px;font-weight:900;display:inline-block;font-size:1.08em;letter-spacing:.04em;border:none;margin-left:0;min-width:32px;min-height:28px;box-shadow:0 0 7px #40FF9770;vertical-align:middle;text-align:center;line-height:1.1;transition:filter .13s;}
