/* --- PROTEZIONE CONTENUTI --- */
body { -webkit-user-select: none; -ms-user-select: none; user-select: none; }
img { -webkit-user-drag: none; user-drag: none; }

/* --- BRAND IDENTITY & CUSTOM CSS --- */
:root {
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(180, 180, 180, 0.15);
    --deep-space: #05070a;
    --electric-cyan: #00f5ff;
    --human-rose: #ff2d75;
    --silver-mist: #b4b4b4;
}

body {
    background-color: var(--deep-space);
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(0, 245, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(255, 45, 117, 0.04) 0%, transparent 40%);
    scroll-behavior: smooth;
    overflow-x: hidden;
    line-height: 1.8;
}

/* --- LOGO CONTAINER --- */
.logo-container {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.6s ease;
    z-index: 30;
}

.main-logo-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.4));
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
    padding: 20px; 
    position: relative;
    z-index: 10;
}

.main-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(255, 45, 117, 0.9));
}

/* --- NAVIGAZIONE --- */
.nav-aeterna {
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(5, 7, 10, 0.6);
    backdrop-filter: blur(12px);
}

.nav-link-aeterna {
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    .nav-link-aeterna::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: 0;
        height: 1px;
        background: var(--electric-cyan);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        box-shadow: 0 0 8px var(--electric-cyan);
    }
    .nav-link-aeterna:hover::after { width: 30px; }
}

/* --- TESTI, GRADIENTI E NEON --- */
.text-metallic {
    background: linear-gradient(180deg, #ffffff 0%, #b4b4b4 60%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    padding-bottom: 0.15em;
    display: inline-block;
}

.accent-neon { color: var(--electric-cyan); text-shadow: 0 0 12px var(--electric-cyan), 0 0 25px var(--human-rose); font-weight: 900; padding-bottom: 0.05em; }
.neon-24 { color: var(--electric-cyan); text-shadow: 0 0 10px rgba(0, 245, 255, 0.8), 0 0 25px var(--human-rose); font-weight: 900; padding-bottom: 0.05em; }
.neon-cyan { color: var(--electric-cyan); text-shadow: 0 0 10px rgba(0, 245, 255, 0.6); font-weight: 700; }
.neon-rose { color: var(--human-rose); text-shadow: 0 0 10px rgba(255, 45, 117, 0.6); font-weight: 700; }

/* --- CARDS & BOXES --- */
.card-aeterna {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    transition: all 0.5s ease;
}
.card-aeterna:hover { transform: translateY(-5px); border-color: var(--human-rose); }

.card-aeterna.hoverable:hover { 
    background: rgba(255,255,255,0.03); 
    border-color: var(--electric-cyan);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
}

.ai-synergy-box { background: linear-gradient(135deg, rgba(0, 245, 255, 0.05) 0%, rgba(255, 45, 117, 0.05) 100%); border: 1px solid var(--glass-border); border-radius: 32px; position: relative; overflow: hidden; }
.ai-synergy-box::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--electric-cyan), var(--human-rose)); }

.vision-text-box { position: relative; overflow: hidden; }
.vision-text-box::before { content: ''; position: absolute; top: 0; left: 0; width: 2px; height: 100%; background: linear-gradient(to bottom, var(--electric-cyan), var(--human-rose)); opacity: 0.5; }

.quote-box { background: rgba(255, 45, 117, 0.05); border-left: 4px solid var(--human-rose); }
.card-naming { background: var(--glass-bg); border: 1px solid var(--glass-border); transition: all 0.4s ease; }
.card-naming:hover { background: rgba(255,255,255,0.03); transform: translateY(-5px); }
.slogan-section { background: linear-gradient(135deg, rgba(0, 245, 255, 0.05) 0%, rgba(255, 45, 117, 0.05) 100%); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }

/* --- IMMAGINE LEO --- */
.leo-portrait-wrapper { position: relative; display: inline-block; }
.leo-portrait-wrapper::before { content: ''; position: absolute; top: -15px; left: -15px; right: 15px; bottom: 15px; border: 1px solid var(--electric-cyan); border-radius: 24px; z-index: -1; opacity: 0.5; transition: all 0.5s ease; }
.leo-portrait-wrapper::after { content: ''; position: absolute; top: 15px; left: 15px; right: -15px; bottom: -15px; border: 1px solid var(--human-rose); border-radius: 24px; z-index: -2; opacity: 0.3; transition: all 0.5s ease; }
.leo-portrait-wrapper:hover::before { top: -20px; left: -20px; opacity: 0.8; }
.leo-portrait-wrapper:hover::after { bottom: -20px; right: -20px; opacity: 0.6; }

/* --- UI UTILITIES --- */
#btnBackToTop { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); backdrop-filter: blur(5px); }
#btnBackToTop.show { opacity: 1; visibility: visible; }
.fade-up { opacity: 0; transform: translateY(30px); transition: all 1s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
section { opacity: 0; transform: translateY(20px); transition: all 0.8s ease; }
section.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================
   HERO SECTION (Aeterna 24 Custom Style)
   ========================================================== */
.hero-wrap { position: relative; overflow: hidden; width: 100%; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 24px 80px; box-sizing: border-box; }
.hero-bg-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 700px; height: 500px; background: radial-gradient(ellipse at center, rgba(0, 245, 255, 0.08) 0%, rgba(255, 45, 117, 0.06) 50%, transparent 70%); pointer-events: none; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 245, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 245, 255, 0.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.hero-content { position: relative; max-width: 720px; width: 100%; text-align: center; z-index: 2; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(0, 245, 255, 0.3); border-radius: 100px; padding: 6px 16px; margin-bottom: 36px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--electric-cyan); background: rgba(0, 245, 255, 0.05); font-weight: 700; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--electric-cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-greeting { font-size: clamp(14px, 3vw, 18px); font-weight: 700; color: var(--electric-cyan); letter-spacing: 0.04em; margin-bottom: 12px; }
.hero-title { font-size: clamp(32px, 6vw, 58px); font-weight: 900; line-height: 1.1; color: #ffffff; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero-title .accent { color: var(--electric-cyan); position: relative; text-shadow: 0 0 15px rgba(0, 245, 255, 0.3); }

.hero-subtitle-big { font-size: clamp(22px, 4vw, 38px); font-weight: 700; line-height: 1.2; color: var(--silver-mist); margin: 0 0 28px; letter-spacing: -0.01em; }
.hero-subtitle-big em { font-style: normal; color: #ffffff; }

.hero-body { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 40px; font-weight: 300; }
.hero-body strong { color: #ffffff; font-weight: 700; }

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.cta-primary { background: var(--electric-cyan); color: var(--deep-space); border: none; padding: 14px 32px; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.2s; text-decoration: none; box-shadow: 0 0 20px rgba(0, 245, 255, 0.3); }
.cta-primary:hover { background: #ffffff; transform: translateY(-2px); box-shadow: 0 0 25px rgba(255, 255, 255, 0.5); }
.cta-secondary { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.2); padding: 14px 32px; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.2s; text-decoration: none; }
.cta-secondary:hover { border-color: var(--electric-cyan); color: #ffffff; background: rgba(0, 245, 255, 0.05); }

/* ==========================================================
   WIZARD CONTATTI (Aeterna 24 Custom Style)
   ========================================================== */
.contatti-wrap { position: relative; overflow: hidden; width: 100%; }
.contatti-bg-glow { position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse at center, rgba(0, 245, 255, 0.07) 0%, transparent 70%); pointer-events: none; }
.contatti-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.contatti-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 2; padding: 0 20px; }

.section-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--electric-cyan); text-align: center; margin-bottom: 12px; font-weight: 700; }
.section-title { font-size: clamp(28px, 5vw, 46px); font-weight: 900; color: #ffffff; text-align: center; margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.1; }
.step-question { font-size: 20px; font-weight: 700; color: #ffffff; margin: 0 0 8px; }
.confirm-title { font-size: 24px; font-weight: 800; color: #ffffff; margin: 0 0 12px; }

.section-sub { text-align: center; font-size: 16px; color: rgba(255,255,255,0.55); font-weight: 300; margin: 0 auto 48px; max-width: 440px; line-height: 1.7; }

.wizard-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 24px; padding: 36px 32px; margin-bottom: 20px; backdrop-filter: blur(12px); }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn 0.4s ease forwards; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-indicator { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0, 245, 255, 0.2); transition: all 0.3s; }
.step-dot.active { background: var(--electric-cyan); width: 24px; border-radius: 4px; box-shadow: 0 0 10px rgba(0, 245, 255, 0.4); }
.step-dot.done { background: rgba(0, 245, 255, 0.5); }

.step-hint { font-size: 13px; color: rgba(255,255,255,0.45); margin: 0 0 24px; font-weight: 300; }

.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .options-grid { grid-template-columns: 1fr; } }

.option-btn { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px; text-align: left; cursor: pointer; transition: all 0.2s; color: white; }
.option-btn:hover { border-color: rgba(0, 245, 255, 0.5); background: rgba(0, 245, 255, 0.05); }
.option-btn.selected { border-color: var(--electric-cyan); background: rgba(0, 245, 255, 0.08); box-shadow: inset 0 0 15px rgba(0, 245, 255, 0.05); }

.option-icon { font-size: 24px; display: block; margin-bottom: 8px; }
.option-label { font-size: 14px; font-weight: 600; color: #ffffff; display: block; }
.option-sub { font-size: 12px; color: rgba(255,255,255,0.45); display: block; margin-top: 4px; }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.btn-back { background: transparent; border: none; color: rgba(255,255,255,0.45); font-size: 13px; cursor: pointer; padding: 8px 0; transition: color 0.2s; }
.btn-back:hover { color: #ffffff; }

.btn-next { background: var(--electric-cyan); color: var(--deep-space); border: none; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; opacity: 0.4; pointer-events: none; text-transform: uppercase; letter-spacing: 1px; }
.btn-next.enabled { opacity: 1; pointer-events: all; box-shadow: 0 0 15px rgba(0, 245, 255, 0.3); }
.btn-next.enabled:hover { background: #ffffff; box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }

.confirm-wrap { text-align: center; padding: 20px 0; }
.confirm-recap { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.recap-pill { background: rgba(0, 245, 255, 0.08); border: 1px solid rgba(0, 245, 255, 0.25); border-radius: 100px; padding: 6px 14px; font-size: 12px; color: var(--electric-cyan); font-weight: 600; }
.confirm-sub { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0 0 32px; line-height: 1.6; font-weight: 300; }

.btn-mail { display: inline-flex; align-items: center; gap: 10px; background: var(--electric-cyan); color: var(--deep-space); border: none; padding: 16px 32px; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 20px rgba(0, 245, 255, 0.3); }
.btn-mail:hover { background: #ffffff; transform: translateY(-2px); box-shadow: 0 0 25px rgba(255, 255, 255, 0.5); }
.btn-restart { display: block; margin: 24px auto 0; background: transparent; border: none; color: rgba(255,255,255,0.35); font-size: 12px; cursor: pointer; transition: color 0.2s; text-decoration: underline; text-underline-offset: 4px; }
.btn-restart:hover { color: #ffffff; }

.trust-row { display: flex; justify-content: center; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }
.trust-icon { font-size: 16px; color: var(--human-rose); }

/* ==========================================================
   SEZIONE METODO (TIMELINE)
   ========================================================== */
.metodo-wrap { position: relative; overflow: hidden; width: 100%; }
.metodo-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.metodo-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; padding: 0 20px; }

.timeline { position: relative; display: flex; flex-direction: column; gap: 0; }
.timeline-line { position: absolute; left: 31px; top: 32px; bottom: 32px; width: 1px; background: linear-gradient(to bottom, rgba(0, 245, 255, 0.4), rgba(0, 245, 255, 0.05)); }

.step { display: flex; gap: 24px; align-items: flex-start; padding: 0 0 40px; position: relative; cursor: pointer; }
.step:last-child { padding-bottom: 0; }

.step-icon-wrap { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; border: 1px solid rgba(0, 245, 255, 0.25); background: var(--glass-bg); backdrop-filter: blur(12px); transition: all 0.3s; }
.step:hover .step-icon-wrap { border-color: rgba(0, 245, 255, 0.7); background: rgba(0, 245, 255, 0.08); box-shadow: 0 0 15px rgba(0, 245, 255, 0.2); }

.step-number { font-size: 11px; font-weight: 800; color: var(--electric-cyan); letter-spacing: 0.1em; position: absolute; top: -8px; right: -2px; background: var(--deep-space); padding: 2px 4px; border-radius: 4px; }
.step-icon { font-size: 22px; line-height: 1; }
.step-body { flex: 1; padding-top: 12px; }
.step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }

.step-title { font-size: 20px; font-weight: 800; color: #ffffff; margin: 0; }
.step-tag { font-size: 11px; color: var(--electric-cyan); border: 1px solid rgba(0, 245, 255, 0.3); border-radius: 100px; padding: 3px 10px; letter-spacing: 0.06em; white-space: nowrap; font-weight: 700; }
.step-desc { font-size: 15px; color: rgba(255, 255, 255, 0.65); line-height: 1.7; margin: 0 0 16px; font-weight: 300; max-width: 560px; }

.step-detail { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-pill { font-size: 12px; color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; padding: 4px 10px; }

.highlight-box { margin-top: 56px; border: 1px solid rgba(0, 245, 255, 0.2); border-radius: 24px; padding: 28px 32px; background: rgba(0, 245, 255, 0.03); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; backdrop-filter: blur(12px); }
.highlight-stat { text-align: center; flex: 1; min-width: 100px; }
.highlight-number { font-size: 36px; font-weight: 900; color: var(--electric-cyan); display: block; line-height: 1; margin-bottom: 6px; text-shadow: 0 0 15px rgba(0, 245, 255, 0.3); }
.highlight-label { font-size: 12px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.highlight-divider { width: 1px; height: 48px; background: rgba(0, 245, 255, 0.15); }