/* Space — pagina SpaceSync (app desktop). Stesso linguaggio delle altre pagine:
   fondo #000008, Orbitron per i titoli, Exo 2 leggero per i testi, accento viola + caldo. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Exo 2', sans-serif; background: #000008; color: #fff; overflow-x: hidden; }

/* ── HERO ─────────────────────────────────────────── */
.ss-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 50px 80px;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(60, 40, 160, .16) 0%, transparent 60%), #000008;
}
.ss-stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.ss-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 60px;
}
.ss-eyebrow, .ss-section-eyebrow {
    font-family: 'Exo 2', sans-serif;
    font-size: .65rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
    margin-bottom: 18px;
}
.ss-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 300;
    letter-spacing: 4px;
    line-height: 1.05;
    color: rgba(255, 255, 255, .95);
    margin-bottom: 22px;
}
.ss-lead {
    max-width: 500px;
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.8;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 34px;
}
.ss-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.ss-actions-center { justify-content: center; }
.ss-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffe9b8, #ffb35c);
    color: #1a0c00;
    font-family: 'Orbitron', sans-serif;
    font-size: .7rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 8px 30px rgba(255, 140, 40, .3);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ss-cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ss-cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .45) inset, 0 14px 40px rgba(255, 150, 50, .5); }
/* sistemi diversi da Windows: il pulsante resta visibile ma non scarica (lo gestisce header.php) */
.ss-cta.disabled { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .62); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset; cursor: default; }
.ss-cta.disabled:hover { transform: none; }
.ss-link {
    font-size: .74rem;
    font-weight: 300;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(200, 185, 255, .9);
    text-decoration: none;
    border-bottom: 1px solid rgba(180, 160, 255, .35);
    padding-bottom: 3px;
    transition: color .2s ease, border-color .2s ease;
}
.ss-link:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }
.ss-note { margin-top: 18px; font-size: .72rem; font-weight: 200; letter-spacing: .4px; color: rgba(255, 255, 255, .55); }

/* illustrazione */
.ss-visual { width: 100%; max-width: 560px; justify-self: end; }
.ss-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.ss-svg-label { font-family: 'Orbitron', sans-serif; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; fill: rgba(255, 255, 255, .6); }
.ss-link-path { animation: ssDash 1.6s linear infinite; }
@keyframes ssDash { to { stroke-dashoffset: -20; } }
.ss-packet { filter: drop-shadow(0 0 6px rgba(255, 200, 140, .9)); }
.ss-packet-2 { filter: drop-shadow(0 0 6px rgba(180, 160, 255, .9)); }

/* ── SEZIONI ──────────────────────────────────────── */
.ss-section { padding: 100px 50px; position: relative; }
.ss-section-alt { background: #0a0a14; }
.ss-inner { max-width: 1200px; margin: 0 auto; }
.ss-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 56px;
    max-width: 760px;
}
.ss-section-title em { font-style: normal; color: rgba(255, 255, 255, .5); }
.ss-text { font-size: .86rem; font-weight: 200; line-height: 1.8; letter-spacing: .3px; color: rgba(255, 255, 255, .68); }

/* passi */
.ss-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.ss-step {
    position: relative;
    padding: 34px 28px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .07);
    transition: transform .3s ease, border-color .3s ease;
}
.ss-step:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .16); }
.ss-step + .ss-step::before {                 /* filo che collega i passi */
    content: '';
    position: absolute;
    top: 52px;
    right: 100%;
    width: 18px;
    height: 1px;
    background: rgba(180, 160, 255, .45);
}
.ss-step-num {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: .8rem;
    letter-spacing: 3px;
    color: #ffb35c;
    margin-bottom: 22px;
}
.ss-step-title, .ss-feature-title {
    font-family: 'Orbitron', sans-serif;
    font-size: .95rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .92);
    margin-bottom: 12px;
    line-height: 1.35;
}

/* funzioni */
.ss-features { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ss-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 20px;
    padding: 30px 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    transition: transform .3s ease, border-color .3s ease;
}
.ss-feature:hover { transform: translateY(-4px); border-color: rgba(120, 100, 255, .35); }
.ss-feature-icon {
    grid-row: 1 / span 2;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(120, 100, 255, .1);
    border: 1px solid rgba(120, 100, 255, .28);
}
.ss-feature-icon svg { width: 22px; height: 22px; fill: none; stroke: rgba(200, 185, 255, .95); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* requisiti + domande */
.ss-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.ss-small-title {
    font-family: 'Orbitron', sans-serif;
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
    margin-bottom: 22px;
}
.ss-req-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ss-req-list li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    font-size: .9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .8);
}
.ss-req-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    transform: translateY(-2px);
    background: rgb(120, 100, 255);
    box-shadow: 0 0 8px rgba(120, 100, 255, .7);
}
.ss-faq-item { border-top: 1px solid rgba(255, 255, 255, .08); }
.ss-faq-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ss-faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 56px;
    padding: 14px 0;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .88);
}
.ss-faq-item summary::-webkit-details-marker { display: none; }
.ss-faq-item summary::after {
    content: '+';
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: rgba(200, 185, 255, .9);
    transition: transform .25s ease;
}
.ss-faq-item[open] summary::after { transform: rotate(45deg); }
.ss-faq-item .ss-text { padding: 0 0 20px; max-width: 640px; }

/* chiusura */
.ss-final {
    padding: 110px 30px 120px;
    text-align: center;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255, 150, 60, .1) 0%, transparent 70%), #000008;
    border-top: 1px solid rgba(255, 255, 255, .05);
}
.ss-final-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}
.ss-final-title em { font-style: normal; color: rgba(255, 255, 255, .5); }
.ss-final-text { max-width: 520px; margin: 0 auto 34px; font-size: .92rem; font-weight: 200; line-height: 1.8; color: rgba(255, 255, 255, .68); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1000px) {
    .ss-hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .ss-lead { margin-left: auto; margin-right: auto; }
    .ss-actions { justify-content: center; }
    .ss-visual { justify-self: center; max-width: 480px; }
    .ss-steps { grid-template-columns: 1fr; }
    .ss-step + .ss-step::before { top: auto; bottom: 100%; right: auto; left: 40px; width: 1px; height: 18px; }
    .ss-split { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 700px) {
    .ss-hero { padding: 100px 22px 60px; }
    .ss-section { padding: 70px 22px; }
    .ss-section-title { font-size: 1.6rem; margin-bottom: 36px; }
    .ss-features { grid-template-columns: 1fr; }
    .ss-feature { padding: 24px 20px; column-gap: 16px; }
    .ss-final { padding: 80px 22px 90px; }
    .ss-cta { padding: 15px 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .ss-link-path { animation: none; }
    .ss-step, .ss-feature, .ss-cta { transition: none; }
    .ss-step:hover, .ss-feature:hover, .ss-cta:hover { transform: none; }
}
