
:root{--blue:#168fff;--deep:#02070c;--panel:#07121c;--text:#f7f9fb;--muted:#aebdca;--shadow:0 15px 35px rgba(0,0,0,.32)}
*{box-sizing:border-box}html{background:#02060a}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:radial-gradient(circle at 80% 0,#07325b 0,transparent 25%),linear-gradient(#02070c,#06111b 65%,#02070c);color:var(--text)}
button,input,textarea,select{font:inherit}.app-shell{max-width:760px;min-height:100vh;margin:auto;background:transparent;padding-bottom:86px}
.topbar{min-height:92px;padding:12px 18px;background:#030a11dd;backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between;color:#fff;position:sticky;top:0;z-index:5;border-bottom:1px solid #173149}
.brand{display:flex;gap:14px;align-items:center}.real-logo{width:94px;max-height:70px;object-fit:contain}.brand strong{font-size:20px}.brand small{display:block;color:#9eb2c4;margin-top:4px}.ghost{white-space:nowrap;border:1px solid #34546d;background:#0a1722;color:#69b8ff;padding:8px 11px;border-radius:999px;cursor:pointer}
.view{display:none;padding:18px}.view.active{display:block}.home-hero{position:relative;padding:24px 0 10px}.ai-orb{position:absolute;right:5px;top:0;width:88px;height:88px;display:grid;place-items:center;border:1px solid #168fff;border-radius:50%;font-size:49px;background:radial-gradient(circle,#0b3964,#03101c);box-shadow:0 0 30px #168fff44}.hello{padding-right:92px}.hello h1{font-size:34px;margin:8px 0 5px}.hello h1 span,.hello p,.kol-trust span{color:#2995ff}.hello p{font-size:24px;margin:0 0 24px;font-weight:650}.home-composer{width:100%;min-height:68px;border:1px solid #47617a;border-radius:25px;background:#0b141dcc;color:#bfcad3;display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 20px;cursor:pointer;text-align:left}.home-composer b{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#168fff;color:#fff;font-size:24px}
.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.feature{position:relative;min-height:260px;border:1px solid;border-radius:24px;padding:22px 14px;background:#071019;color:white;text-align:center;overflow:hidden;cursor:pointer;box-shadow:inset 0 0 40px #0008}.feature i{display:block;font-style:normal;font-size:45px}.feature h3{font-size:21px;margin:12px 0 7px}.feature p{font-size:14px;line-height:1.4;color:#d4dde5}.feature>b{display:inline-grid;place-items:center;width:35px;height:35px;border:1px solid;border-radius:50%;font-size:26px}.camera{border-color:#168fff;background:radial-gradient(circle at 50% 18%,#07386a,#06101a 60%);color:#45aaff}.assist{border-color:#37bd4c;background:radial-gradient(circle at 50% 18%,#0b3b1b,#06100c 60%);color:#50e365}.repairs{border-color:#9848e9;background:radial-gradient(circle at 50% 18%,#2b154a,#0b0713 60%);color:#ba69ff}.services{border-color:#f18a12;background:radial-gradient(circle at 50% 18%,#472706,#120c05 60%);color:#ffa12e}.ribbon{position:absolute;right:-38px;top:18px;transform:rotate(45deg);width:140px;background:#168fff;color:white;font-size:11px;font-weight:900;padding:5px}
.sos-home{width:100%;margin-top:12px;border:1px solid #f32d35;border-radius:22px;background:linear-gradient(90deg,#260708,#15090b);color:#fff;min-height:94px;display:flex;align-items:center;gap:15px;padding:14px 18px;text-align:left;cursor:pointer}.sos-dot{display:grid;place-items:center;min-width:58px;height:58px;border-radius:50%;background:#e51f28;border:4px solid #ff5b61;box-shadow:0 0 22px #ff2739;font-weight:900}.sos-home strong{display:block;color:#ff4149;font-size:22px}.sos-home small{display:block;margin-top:4px}.sos-home>b{margin-left:auto;color:#ff4149;font-size:35px}.kol-trust{margin-top:12px;border:1px solid #29465e;border-radius:18px;padding:16px 18px;background:#07131d;font-size:15px}.kol-trust span{display:block;margin-top:4px}
.section-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px}.section-head h2{margin:0}.section-head p{margin:5px 0;color:var(--muted);font-size:14px}.online{color:#43df82;font-size:13px}.chat{height:calc(100vh - 305px);min-height:360px;overflow:auto;padding:10px 2px}.msg{max-width:84%;padding:12px 14px;border-radius:17px;margin:8px 0;line-height:1.45;white-space:pre-wrap}.msg.bot{background:#0d1b27;border:1px solid #1e3547;border-bottom-left-radius:5px}.msg.user{background:#126fbd;color:#fff;margin-left:auto;border-bottom-right-radius:5px}.msg.typing{color:var(--muted)}.chips{display:flex;gap:7px;overflow:auto;padding:7px 0}.chips button{white-space:nowrap;border:1px solid #29465e;background:#0b1721;color:#58afff;padding:8px 10px;border-radius:999px;cursor:pointer}.composer{display:grid;grid-template-columns:42px 1fr 45px;gap:8px;background:#0d1b27;padding:9px;border:1px solid #1e3547;border-radius:18px}.composer input{border:0;outline:0;min-width:0;background:transparent;color:white}.composer>button:first-child{border:0;background:#142838;border-radius:12px}.primary,.send{border:0;background:linear-gradient(135deg,#0877c9,#14a8e0);color:#fff;border-radius:14px;padding:13px 18px;font-weight:800;cursor:pointer}.send{padding:0}.panel{background:#0d1b27;border:1px solid #1e3547;border-radius:20px;padding:20px;box-shadow:var(--shadow)}.form{display:grid;gap:14px}.form label{display:grid;gap:6px;font-weight:700;font-size:14px}.form input,.form select,.form textarea{width:100%;border:1px solid #29465e;border-radius:12px;padding:12px;background:#08131c;color:white}.check{grid-template-columns:22px 1fr!important;font-weight:400!important}.check input{width:auto}.empty{text-align:center;padding:45px 22px}.empty>div{font-size:50px}.success{padding:12px;border-radius:12px;background:#0c3625;color:#69e3a9;margin-top:8px}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);height:72px;background:#07121df2;display:grid;grid-template-columns:repeat(4,1fr);box-shadow:0 -8px 24px #0007;z-index:6;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #263b4c}.bottom-nav button{border:0;background:none;color:#93a5b3;font-size:19px}.bottom-nav span{display:block;font-size:11px;margin-top:3px}.bottom-nav button.active{color:#2995ff;font-weight:800;background:#0a1d2c}.hidden{display:none}
@media(max-width:480px){.view{padding:14px}.real-logo{width:78px}.brand strong{font-size:17px}.hello h1{font-size:29px}.hello p{font-size:21px}.feature{min-height:240px;padding:20px 10px}.feature h3{font-size:19px}.feature p{font-size:13px}}

/* KOL AI Home v3 - rifiniture finali */
.app-shell{max-width:980px;padding-bottom:112px}
.topbar{min-height:112px;padding:14px 24px}
.real-logo{width:145px;max-height:88px}
.brand strong{font-size:24px}
.brand small{font-size:14px}
.view{padding:24px}
.bottom-nav{width:min(980px,100%);height:78px}
.kol-trust{margin-bottom:22px}

@media(min-width:900px){
  .home-hero{padding-top:36px}
  .hello h1{font-size:40px}
  .hello p{font-size:27px}
  .feature-grid{gap:16px}
  .feature{min-height:275px}
  .feature h3{font-size:23px}
  .feature p{font-size:15px}
}
@media(max-width:480px){
  .app-shell{padding-bottom:104px}
  .topbar{min-height:90px;padding:10px 14px}
  .real-logo{width:105px;max-height:70px}
  .brand strong{font-size:17px}
  .brand small{font-size:12px}
  .view{padding:14px}
  .kol-trust{margin-bottom:18px}
}

/* v4 - barra desktop non sovrapposta */
@media(min-width:700px){
  .app-shell{padding-bottom:0;min-height:100vh}
  .bottom-nav{
    position:relative;
    left:auto;
    bottom:auto;
    transform:none;
    width:100%;
    margin-top:24px;
  }
  .kol-trust{margin-bottom:0}
}
@media(max-width:699px){
  .app-shell{padding-bottom:112px}
  .bottom-nav{
    position:fixed;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
  }
  .kol-trust{margin-bottom:20px}
}
