/* === RESET E BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #fff;
    background: radial-gradient(circle at 20% 20%, #101020, #050509 80%);
    overflow-x: hidden;
    scroll-behavior: smooth;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* === BACKGROUND MORPHING === */
.bg-morph { position: fixed; inset: 0; overflow: hidden; z-index: -2; }
.blob { position: absolute; width: 700px; height: 700px; border-radius: 50%; opacity: 0.4; filter: blur(120px); animation: morph 20s ease-in-out infinite; }
.blob1 { background: #2563eb; top: -100px; left: -100px; animation-delay: 0s; }
.blob2 { background: #9333ea; top: 50%; left: 60%; animation-delay: 6s; }
.blob3 { background: #0ea5e9; bottom: -150px; right: -100px; animation-delay: 12s; }
@keyframes morph { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(60px,-40px) scale(1.1); } 66% { transform: translate(-40px,60px) scale(0.9); } }

/* === NAVBAR === */
header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(10,10,15,0.6); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.1); z-index: 50; }
.nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; }
.logo { font-size: 1.7rem; font-weight: 700; letter-spacing: -1px; }
.logo span { color: #60a5fa; }
.btn { padding: 0.8rem 1.6rem; border-radius: 12px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; display: inline-block; }
.btn-primary { background: #2563eb; color: #fff; box-shadow: 0 0 20px #2563eb55; }
.btn-primary:hover { background: #1e40af; box-shadow: 0 0 25px #2563eb99; transform: translateY(-2px); }
.btn-dark { background: #1f2937; }
.btn-dark:hover { background: #374151; transform: translateY(-2px); }

/* === HERO === */
.hero { text-align: center; padding: 10rem 1.5rem 6rem; max-width: 1000px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.1; animation: fadeIn 1s ease both; }
.hero p { color: #cbd5e1; font-size: 1.1rem; max-width: 600px; margin: 0 auto 2.5rem; animation: fadeIn 1.3s ease both; }
.hero .buttons { display: flex; justify-content: center; gap: 1rem; animation: fadeIn 1.6s ease both; }

/* === SEZIONI === */
section { text-align: center; padding: 6rem 1.5rem; max-width: 1200px; margin: 0 auto; }
section h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; }
section p { color: #9ca3af; margin-bottom: 3rem; }

/* === FUNZIONALITÀ === */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.feature { background: rgba(255,255,255,0.05); border-radius: 16px; padding: 2rem; backdrop-filter: blur(10px); transition: all 0.4s; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 0 25px rgba(96,165,250,0.25); background: rgba(255,255,255,0.08); }
.icon { font-size: 2rem; margin-bottom: 1rem; }

/* === SICUREZZA === */
.security-icon { font-size: 6rem; color: #60a5fa; margin: 2rem 0; text-shadow: 0 0 30px rgba(59,130,246,0.4); animation: float 6s ease-in-out infinite; }

/* === CTA === */
.cta { background: linear-gradient(90deg, #1e3a8a, #6d28d9, #1e3a8a); padding: 8rem 1.5rem; }
.cta h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta p { color: #e2e8f0; margin-bottom: 2rem; font-size: 1.1rem; }
.cta .btn { background: #fff; color: #1e3a8a; font-weight: 700; }
.cta .btn:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(255,255,255,0.4); }

/* === FOOTER === */
footer { text-align: center; color: #64748b; padding: 2rem 1rem; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* === ANIMAZIONI === */
@keyframes fadeIn { from {opacity:0; transform:translateY(15px);} to {opacity:1; transform:translateY(0);} }
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }
