/* Kassio — pagina prodotto. Scura, a tema contanti, Liquid Glass. */
:root {
    --ks-bg: #040505;
    --ks-bg-2: #06080c;
    --ks-text: #f5f5f7;
    --ks-muted: #a1a1a6;
    --ks-faint: #6e6e73;
    --ks-gold: #f5c451;
    --ks-emerald: #2fbf80;
    --ks-green: #30d158;
    --ks-orange: #ff9f0a;
    --ks-line: rgba(255, 255, 255, .12);
    --ks-glass: rgba(255, 255, 255, .07);
    --ks-glass-strong: rgba(255, 255, 255, .12);
    --ks-radius: 28px;
    --ks-ease: cubic-bezier(.22, .8, .2, 1);
    --ks-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Inter, Arial, sans-serif;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--ks-font);
    color: var(--ks-text);
    background: var(--ks-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.04; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ks-gold); outline-offset: 3px; border-radius: 8px; }
#contenuto:focus { outline: none; }

.ks-skip {
    position: fixed; left: 16px; top: -60px; z-index: 100;
    padding: 10px 16px; border-radius: 999px; background: #fff; color: #000; font-weight: 600;
    transition: top .2s;
}
.ks-skip:focus { top: 12px; }

/* ---------- Testo e componenti ---------- */
.ks-eyebrow {
    margin-bottom: 14px;
    color: var(--ks-gold);
    font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.ks-lead { color: var(--ks-muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; }
.ks-muted { color: var(--ks-faint); }
.ks-gradient-text {
    background: linear-gradient(100deg, #fff4cf 0%, var(--ks-gold) 35%, #d99a2b 70%, #f3dc98 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.ks-glass {
    position: relative;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .035) 42%, rgba(255, 255, 255, .06)),
        rgba(18, 20, 26, .38);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -1px 0 rgba(255, 255, 255, .05),
        inset 0 0 30px rgba(255, 255, 255, .03),
        0 30px 80px rgba(0, 0, 0, .45);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
    isolation: isolate;
}
/* Riflesso che segue il puntatore (le variabili sono aggiornate da ui.js). */
.ks-glass::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
    background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, .12), transparent 55%);
    opacity: var(--glow, .6);
    transition: opacity .4s;
}

.ks-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
    font: 600 1rem/1 var(--ks-font); letter-spacing: -.01em; cursor: pointer; white-space: nowrap;
    transition: transform .3s var(--ks-ease), box-shadow .3s, background .3s, opacity .3s;
}
.ks-btn svg { width: 18px; height: 18px; }
.ks-btn:hover { transform: translateY(-1px) scale(1.015); }
.ks-btn:active { transform: scale(.98); }
.ks-btn-primary {
    color: #1f1400;
    background: linear-gradient(135deg, #fff0b8, var(--ks-gold) 45%, #d99a2b);
    box-shadow: 0 10px 40px rgba(245, 196, 81, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.ks-btn-primary.is-soon { cursor: default; }
.ks-btn-primary.is-soon:hover { transform: none; }
.ks-btn-glass {
    color: var(--ks-text);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
}
.ks-btn-glass:hover { background: rgba(255, 255, 255, .14); }
.ks-btn-small { min-height: 34px; padding: 0 14px; font-size: .85rem; }
.ks-btn-small svg { width: 15px; height: 15px; }
.ks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ks-actions-center { justify-content: center; }
.ks-link { color: var(--ks-gold); font-weight: 600; }
.ks-link:hover { text-decoration: underline; }

/* ---------- Navigazione ---------- */
.ks-nav {
    position: fixed; inset: 12px 0 auto; z-index: 50;
    padding: 0 16px; pointer-events: none;
}
.ks-nav-inner {
    pointer-events: auto;
    max-width: 1080px; margin: 0 auto; height: 56px; padding: 0 10px 0 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    border-radius: 999px;
    background: rgba(20, 22, 28, .5);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 20px 50px rgba(0, 0, 0, .35);
    -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%);
    transition: background .4s, transform .5s var(--ks-ease);
}
.ks-nav.is-scrolled .ks-nav-inner { background: rgba(14, 16, 20, .72); }
.ks-nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.05rem; letter-spacing: -.02em; }
.ks-nav-brand img { border-radius: 7px; }
.ks-nav-links { display: flex; align-items: center; gap: 4px; }
.ks-nav-links a:not(.ks-btn) { padding: 8px 12px; border-radius: 999px; color: rgba(245, 245, 247, .78); font-size: .9rem; transition: color .2s, background .2s; }
.ks-nav-links a:not(.ks-btn):hover, .ks-nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.ks-nav-links .ks-btn { margin-left: 8px; }
.ks-nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.ks-nav-toggle span { display: block; width: 18px; height: 1.6px; margin: 5px auto; background: #fff; border-radius: 2px; transition: transform .3s var(--ks-ease); }
.ks-nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.ks-nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- Palcoscenico con iPhone 3D ---------- */
.ks-stage { position: relative; }
.ks-stage-sticky {
    position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden;
    background:
        radial-gradient(80% 60% at 50% 110%, rgba(245, 196, 81, .10), transparent 70%),
        linear-gradient(180deg, #040505 0%, #070a08 60%, #040505 100%);
}
.ks-stage-canvas, .ks-count-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ks-stage-canvas { opacity: 0; transition: opacity 1.2s var(--ks-ease); }
.has-webgl .ks-stage-canvas.is-ready { opacity: 1; }
.ks-stage-steps { position: relative; margin-top: -100vh; margin-top: -100lvh; z-index: 2; }
.ks-step {
    min-height: 100vh; min-height: 100lvh;
    display: flex; align-items: center;
    width: min(1180px, 100% - 40px); margin: 0 auto;
    pointer-events: none;
}
.ks-step > * { pointer-events: auto; }
.ks-step-right { justify-content: flex-end; }

.ks-aurora { position: absolute; inset: 0; overflow: hidden; filter: blur(60px); opacity: .55; pointer-events: none; }
.ks-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: ks-drift 18s ease-in-out infinite alternate; }
.ks-aurora span:nth-child(1) { width: 46vmax; height: 46vmax; left: 50%; top: 40%; margin: -23vmax; background: radial-gradient(circle, rgba(245, 196, 81, .35), transparent 65%); }
.ks-aurora span:nth-child(2) { width: 38vmax; height: 38vmax; left: 30%; top: 70%; margin: -19vmax; background: radial-gradient(circle, rgba(47, 191, 128, .35), transparent 65%); animation-delay: -6s; }
.ks-aurora span:nth-child(3) { width: 30vmax; height: 30vmax; left: 72%; top: 25%; margin: -15vmax; background: radial-gradient(circle, rgba(80, 140, 255, .22), transparent 65%); animation-delay: -12s; }
@keyframes ks-drift {
    from { transform: translate3d(-6%, -4%, 0) scale(1); }
    to { transform: translate3d(6%, 5%, 0) scale(1.15); }
}

.ks-step-hero { position: relative; padding-top: 40px; }
.ks-hero-copy { max-width: 700px; }
.ks-hero-icon {
    width: 88px; height: 88px; margin: 0 0 22px; border-radius: 22px;
    box-shadow: 0 20px 60px rgba(245, 196, 81, .35), 0 0 0 1px rgba(255, 255, 255, .1);
    animation: ks-rise 1s var(--ks-ease) both;
}
.ks-step-hero h1 { font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -.05em; line-height: .98; animation: ks-rise 1s .08s var(--ks-ease) both; }
.ks-step-hero .ks-eyebrow { animation: ks-rise 1s .04s var(--ks-ease) both; }
.ks-step-hero .ks-lead { max-width: 560px; margin: 22px 0 0; animation: ks-rise 1s .16s var(--ks-ease) both; }
.ks-step-hero .ks-actions { animation: ks-rise 1s .24s var(--ks-ease) both; }
@keyframes ks-rise { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.ks-scroll-cue {
    position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px;
    border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 14px;
}
.ks-scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: ks-cue 1.8s ease-in-out infinite; }
@keyframes ks-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.ks-step-card {
    width: min(460px, 100%);
    padding: 34px 34px 32px;
    border-radius: var(--ks-radius);
}
.ks-step-card h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 16px; }
.ks-step-card p:not(.ks-eyebrow) { color: rgba(245, 245, 247, .78); font-size: 1.08rem; line-height: 1.55; }
.ks-step-stats { display: flex; gap: 12px; margin: 24px 0 0; }
.ks-step-stats div { flex: 1; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.ks-step-stats dt { color: var(--ks-muted); font-size: .8rem; }
.ks-step-stats dd { margin: 0 0 2px; order: -1; font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; background: linear-gradient(120deg, #fff, var(--ks-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ks-step-stats div { display: flex; flex-direction: column; }
.ks-step-shot { display: none; margin: 26px 0 0; }

.ks-stage-progress {
    position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 10px; z-index: 3;
}
.ks-stage-progress span { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); transition: height .4s var(--ks-ease), background .4s; }
.ks-stage-progress span.is-active { height: 22px; background: var(--ks-gold); }

/* Reveal all'ingresso nel viewport */
.js [data-reveal] { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(6px); transition: opacity .9s var(--ks-ease), transform 1s var(--ks-ease), filter .9s var(--ks-ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* ---------- Dispositivo in CSS (fallback e sezione Pro) ---------- */
.ks-device {
    position: relative;
    width: min(320px, 70vw); aspect-ratio: 900 / 1957;
    padding: 3.2%;
    border-radius: 16% / 7.4%;
    background: linear-gradient(145deg, #5a7bb5, #1c2f52 30%, #0e1a30 52%, #2c4a7e 78%, #15243f);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, .35),
        inset 0 0 0 5px #0b0c0e,
        0 50px 100px rgba(0, 0, 0, .6),
        0 0 80px rgba(245, 196, 81, .12);
}
.ks-device img { width: 100%; height: 100%; object-fit: cover; border-radius: 13% / 6%; background: #000; }
.ks-device-small { width: 200px; margin: 0 auto; }

.ks-hero-fallback { display: none; margin: 0; }

/* Senza WebGL: niente palcoscenico 3D, ogni passo mostra il suo screenshot */
.no-webgl .ks-stage-sticky { display: none; }
.no-webgl .ks-stage-steps { margin-top: 0; }
.no-webgl .ks-step { min-height: 0; padding: 60px 0; justify-content: center; }
.no-webgl .ks-step-hero { min-height: 100vh; justify-content: space-between; gap: 40px; padding-top: 110px; }
.no-webgl .ks-hero-fallback { display: block; }
.no-webgl .ks-hero-fallback .ks-device { transform: rotate(6deg); }
.no-webgl .ks-step-shot { display: block; }
.no-webgl .ks-scroll-cue { display: none; }
.no-webgl .ks-stage-progress { display: none; }

/* ---------- Scena della conta ---------- */
.ks-count { position: relative; height: 380vh; background: #040505; }
.ks-count-sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.ks-count-canvas { opacity: 0; transition: opacity 1s; }
.ks-count-canvas.is-ready { opacity: 1; }
.ks-count-fallback {
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 40% at 60% 72%, rgba(245, 196, 81, .2), transparent 70%),
        radial-gradient(40% 30% at 30% 80%, rgba(47, 191, 128, .14), transparent 70%), #040505;
}
.has-webgl .ks-count-fallback { display: none; }
.ks-count-copy {
    position: absolute; left: max(20px, calc(50% - 560px)); top: max(100px, 14vh); z-index: 2;
    max-width: 520px; pointer-events: none;
}
.ks-count-copy h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -.05em; margin-bottom: 18px; text-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.ks-count-copy p:not(.ks-eyebrow) { color: rgba(245, 245, 247, .78); font-size: 1.12rem; line-height: 1.55; max-width: 430px; text-shadow: 0 2px 20px rgba(0, 0, 0, .8); }
.ks-hud {
    position: absolute; right: max(20px, calc(50% - 560px)); top: max(110px, 15vh); z-index: 2;
    width: 340px; padding: 22px 24px 20px; border-radius: 30px;
}
.ks-hud-status { display: flex; align-items: center; gap: 8px; font-weight: 650; margin-bottom: 14px; }
.ks-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ks-orange); box-shadow: 0 0 12px var(--ks-orange); }
.ks-hud.is-counting .ks-dot { background: var(--ks-gold); box-shadow: 0 0 12px var(--ks-gold); animation: ks-pulse 1.2s ease-in-out infinite; }
.ks-hud.is-done .ks-dot { background: var(--ks-green); box-shadow: 0 0 12px var(--ks-green); animation: none; }
@keyframes ks-pulse { 50% { opacity: .35; } }
.ks-hud-rows { margin: 0; display: grid; gap: 6px; }
.ks-hud-rows div { display: flex; justify-content: space-between; gap: 20px; font-size: .92rem; }
.ks-hud-rows dt { color: var(--ks-muted); }
.ks-hud-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.ks-hud-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ks-hud-total span { color: var(--ks-muted); font-weight: 600; }
.ks-hud-total strong { font-size: 2.1rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; background: linear-gradient(120deg, #fff, var(--ks-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ks-hud-bands { display: flex; gap: 5px; margin-top: 14px; }
.ks-hud-bands i { flex: 1; height: 6px; border-radius: 3px; background: var(--band); opacity: .18; transform: scaleX(.4); transition: opacity .5s, transform .6s var(--ks-ease); }
.ks-hud.is-done .ks-hud-bands i { opacity: 1; transform: none; }
.ks-hud.is-done .ks-hud-bands i:nth-child(2) { transition-delay: .05s; }
.ks-hud.is-done .ks-hud-bands i:nth-child(3) { transition-delay: .1s; }
.ks-hud.is-done .ks-hud-bands i:nth-child(4) { transition-delay: .15s; }
.ks-hud.is-done .ks-hud-bands i:nth-child(5) { transition-delay: .2s; }
.ks-hud.is-done .ks-hud-bands i:nth-child(6) { transition-delay: .25s; }
.ks-hud.is-done .ks-hud-bands i:nth-child(7) { transition-delay: .3s; }
.ks-hud.is-done .ks-hud-bands i:nth-child(8) { transition-delay: .35s; }


/* ---------- Sezioni ---------- */
.ks-section { width: min(1120px, 100% - 40px); margin: 0 auto; padding: clamp(90px, 13vw, 160px) 0 0; }
.ks-section-head { text-align: center; margin-bottom: 56px; }
.ks-section-head h2 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.045em; }

.ks-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.ks-tile { padding: 30px; border-radius: var(--ks-radius); min-height: 230px; transform-style: preserve-3d; transition: transform .5s var(--ks-ease), opacity .9s var(--ks-ease), filter .9s var(--ks-ease); }
.ks-tile-wide { grid-column: span 2; }
.ks-tile h3 { font-size: 1.45rem; margin: 18px 0 10px; letter-spacing: -.025em; }
.ks-tile-wide h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.ks-tile p { color: var(--ks-muted); line-height: 1.5; }
.ks-tile-icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
    background: linear-gradient(140deg, rgba(245, 196, 81, .25), rgba(47, 191, 128, .25));
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.ks-tile-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff6dc; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ks-pro-tag { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: linear-gradient(120deg, var(--ks-gold), var(--ks-emerald)); color: #001; font-size: .7rem; font-weight: 800; letter-spacing: .04em; vertical-align: 2px; }

.ks-pro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ks-pro-visual { position: relative; display: grid; place-items: center; perspective: 1200px; min-height: 640px; }
.ks-device-3d {
    width: min(300px, 64vw);
    transform: rotateY(-18deg) rotateX(8deg) rotateZ(2deg);
    transform-style: preserve-3d;
    transition: transform .25s ease-out;
    z-index: 2;
}
.ks-device-glare {
    position: absolute; inset: 3.2%; border-radius: 13% / 6%; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%);
    background-size: 250% 100%; background-position: var(--gx, 40%) 0;
    mix-blend-mode: screen;
}
.ks-pro-orbit { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; pointer-events: none; }
.ks-pro-orbit span { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(245, 196, 81, .18); transform: rotateX(72deg); animation: ks-spin 14s linear infinite; }
.ks-pro-orbit span::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ks-gold); box-shadow: 0 0 18px var(--ks-gold); }
.ks-pro-orbit span:nth-child(2) { width: 400px; height: 400px; border-color: rgba(47, 191, 128, .2); animation-duration: 10s; animation-direction: reverse; }
.ks-pro-orbit span:nth-child(2)::before { background: var(--ks-emerald); box-shadow: 0 0 18px var(--ks-emerald); }
@keyframes ks-spin { to { transform: rotateX(72deg) rotateZ(360deg); } }
.ks-pro-copy h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -.05em; margin-bottom: 18px; }
.ks-price { display: inline-flex; align-items: baseline; gap: 10px; margin: 28px 0 26px; padding: 16px 26px; border-radius: 22px; }
.ks-price strong { font-size: 2.6rem; letter-spacing: -.04em; }
.ks-price span { color: var(--ks-muted); }
.ks-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ks-checklist li { position: relative; padding-left: 36px; color: var(--ks-muted); line-height: 1.45; }
.ks-checklist li strong { display: block; color: var(--ks-text); }
.ks-checklist li::before {
    content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ks-gold), var(--ks-emerald));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E");
}
.ks-checklist li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 6px; height: 11px; border: solid #001; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }

.ks-privacy-card { max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 70px); border-radius: 36px; text-align: center; }
.ks-privacy-card h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 22px 0 18px; letter-spacing: -.045em; }
.ks-privacy-card p { color: var(--ks-muted); font-size: 1.12rem; line-height: 1.6; max-width: 620px; margin: 0 auto 22px; }
.ks-lock { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 24px; background: linear-gradient(140deg, rgba(245, 196, 81, .3), rgba(47, 191, 128, .3)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 20px 50px rgba(245, 196, 81, .2); }
.ks-lock svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; }

.ks-faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.ks-faq details { border-radius: 22px; }
.ks-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.ks-faq summary::-webkit-details-marker { display: none; }
.ks-faq summary span { position: relative; width: 14px; height: 14px; flex: none; }
.ks-faq summary span::before, .ks-faq summary span::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--ks-gold); transition: transform .35s var(--ks-ease); }
.ks-faq summary span::after { transform: rotate(90deg); }
.ks-faq details[open] summary span::after { transform: rotate(0); }
.ks-faq details p { padding: 0 26px 24px; color: var(--ks-muted); line-height: 1.6; }

.ks-final { text-align: center; padding-bottom: 40px; }
.ks-final-inner img { margin: 0 auto 30px; border-radius: 28px; box-shadow: 0 30px 80px rgba(245, 196, 81, .35); animation: ks-float 6s ease-in-out infinite; }
@keyframes ks-float { 50% { transform: translateY(-10px); } }
.ks-final h2 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.05em; }
.ks-final p { margin-top: 14px; color: var(--ks-muted); font-size: 1.15rem; }

/* ---------- Footer ---------- */
.ks-footer { margin-top: clamp(90px, 12vw, 140px); border-top: 1px solid var(--ks-line); background: #050608; }
.ks-footer-inner { width: min(1120px, 100% - 40px); margin: 0 auto; padding: 44px 0 26px; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ks-footer-brand { display: flex; gap: 14px; align-items: center; }
.ks-footer-brand img { border-radius: 11px; }
.ks-footer-brand p { color: var(--ks-muted); font-size: .92rem; margin-top: 3px; }
.ks-footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; font-size: .92rem; color: rgba(245, 245, 247, .8); }
.ks-footer-links a:hover { color: #fff; }
.ks-footer-meta { width: min(1120px, 100% - 40px); margin: 0 auto; padding: 18px 0 34px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--ks-faint); font-size: .8rem; line-height: 1.6; }
.ks-footer-meta a { color: var(--ks-muted); }
.ks-footer-meta a:hover { color: #fff; }

/* ---------- Pagine interne (supporto e privacy) ---------- */
.ks-page { position: relative; padding-top: 130px; }
.ks-page::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 620px; pointer-events: none; z-index: -1;
    background:
        radial-gradient(50% 70% at 25% 0%, rgba(245, 196, 81, .18), transparent 70%),
        radial-gradient(45% 60% at 80% 10%, rgba(47, 191, 128, .18), transparent 70%);
}
.ks-page-head { width: min(1120px, 100% - 40px); margin: 0 auto 50px; text-align: center; }
.ks-page-head h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.05em; margin-bottom: 18px; }
.ks-page-head .ks-lead { max-width: 660px; margin: 0 auto; }

.ks-support-grid { width: min(1120px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.ks-form-card, .ks-aside-card { border-radius: 32px; padding: clamp(26px, 4vw, 40px); }
.ks-form-card h2, .ks-aside-card h2 { font-size: 1.7rem; margin-bottom: 8px; letter-spacing: -.03em; }
.ks-form-card > p { color: var(--ks-muted); margin-bottom: 26px; }
.ks-form { display: grid; gap: 16px; }
.ks-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ks-form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.ks-field { display: grid; gap: 7px; font-size: .88rem; font-weight: 600; color: rgba(245, 245, 247, .86); }
.ks-field .req { color: var(--ks-gold); }
.ks-field input, .ks-field select, .ks-field textarea {
    width: 100%; min-height: 50px; padding: 13px 16px;
    font: 400 1rem/1.4 var(--ks-font); color: var(--ks-text);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 15px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
    transition: border-color .2s, background .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
.ks-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.ks-field select option { color: #000; }
.ks-field textarea { min-height: 170px; resize: vertical; }
.ks-field input::placeholder, .ks-field textarea::placeholder { color: rgba(245, 245, 247, .35); }
.ks-field input:focus, .ks-field select:focus, .ks-field textarea:focus { outline: none; border-color: var(--ks-gold); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 4px rgba(245, 196, 81, .18); }
.ks-field small { font-weight: 400; color: var(--ks-faint); margin-left: 4px; }
.ks-honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ks-check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ks-muted); line-height: 1.5; cursor: pointer; }
.ks-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ks-gold); }
.ks-check a { color: var(--ks-gold); text-decoration: underline; }
.ks-form-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.ks-form-submit small { color: var(--ks-faint); }
.ks-alert, .ks-notice { padding: 14px 18px; border-radius: 16px; font-size: .95rem; line-height: 1.5; }
.ks-alert { background: rgba(255, 69, 58, .14); border: 1px solid rgba(255, 69, 58, .35); color: #ffd1cd; }
.ks-notice { background: rgba(48, 209, 88, .14); border: 1px solid rgba(48, 209, 88, .4); color: #d4ffe0; }
.ks-aside-card + .ks-aside-card { margin-top: 22px; }
.ks-aside-stack { display: grid; gap: 22px; }
.ks-aside-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 16px; }
.ks-aside-card li strong { display: block; margin-bottom: 3px; }
.ks-aside-card li span { color: var(--ks-muted); font-size: .93rem; line-height: 1.5; }
.ks-aside-card p { color: var(--ks-muted); line-height: 1.55; }
.ks-mail { display: inline-flex; margin-top: 14px; font-weight: 600; color: var(--ks-gold); }

.ks-legal { width: min(820px, 100% - 40px); margin: 0 auto; }
.ks-legal-card { border-radius: 32px; padding: clamp(26px, 5vw, 56px); }
.ks-legal-card + .ks-legal-card { margin-top: 22px; }
.ks-legal-updated { color: var(--ks-faint); font-size: .9rem; margin-bottom: 26px !important; }
.ks-legal h2 { font-size: 1.45rem; margin: 34px 0 10px; letter-spacing: -.025em; }
.ks-legal h2:first-of-type { margin-top: 0; }
.ks-legal p, .ks-legal li { color: rgba(245, 245, 247, .76); line-height: 1.7; }
.ks-legal p + p { margin-top: 12px; }
.ks-legal ul { padding-left: 20px; }
.ks-legal a { color: var(--ks-gold); text-decoration: underline; text-underline-offset: 2px; }
.ks-legal-toc { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .ks-bento { grid-template-columns: 1fr 1fr; }
    .ks-tile-wide { grid-column: span 2; }
    .ks-pro-grid { grid-template-columns: 1fr; gap: 20px; }
    .ks-pro-visual { min-height: 560px; order: 2; }
    .ks-support-grid { grid-template-columns: 1fr; }
    .ks-hud { min-width: 0; }
}
@media (max-width: 760px) {
    .ks-nav { inset: 8px 0 auto; padding: 0 10px; }
    .ks-nav-inner { height: 52px; border-radius: 26px; flex-wrap: wrap; }
    .ks-nav-toggle { display: block; }
    .ks-nav-links {
        position: absolute; left: 10px; right: 10px; top: 60px;
        flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
        border-radius: 24px; background: rgba(20, 22, 28, .86);
        border: 1px solid rgba(255, 255, 255, .12);
        -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%);
        opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
        transition: opacity .3s, transform .4s var(--ks-ease);
    }
    .ks-nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
    .ks-nav-links a:not(.ks-btn) { padding: 13px 14px; font-size: 1rem; }
    .ks-nav-links .ks-btn { margin: 8px 0 0; min-height: 46px; }

    .ks-step { width: calc(100% - 24px); align-items: flex-end; padding-bottom: 5vh; }
    .ks-step-right { justify-content: center; }
    .ks-step-left { justify-content: center; }
    .ks-step-card { padding: 24px 22px; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)), rgba(10, 12, 16, .62); }
    .ks-step-card h2 { font-size: 1.85rem; margin-bottom: 10px; }
    .ks-step-card h2 br { display: none; }
    .ks-step-card p:not(.ks-eyebrow) { font-size: .98rem; }
    .ks-step-card .ks-eyebrow { margin-bottom: 8px; }
    .ks-step-stats { margin-top: 16px; }
    .ks-step-stats dd { font-size: 1.35rem; }
    .ks-step-hero { flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; padding: 96px 0 0; }
    .ks-hero-copy { margin: 0 auto; }
    .ks-hero-icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 14px; }
    .ks-step-hero .ks-lead { margin: 16px auto 0; }
    .ks-step-hero .ks-actions { justify-content: center; }
    .ks-step-hero .ks-lead { font-size: 1.02rem; }
    .ks-actions { margin-top: 22px; }
    .ks-stage-progress { right: 10px; }

    .ks-count { height: 340vh; }
    .ks-count-copy { top: 84px; left: 20px; right: 20px; }
    .ks-count-copy h2 { font-size: 2.3rem; }
    .ks-count-copy p:not(.ks-eyebrow) { font-size: .98rem; }
    .ks-hud { left: 12px; right: 12px; top: auto; bottom: 14px; width: auto; padding: 16px 18px; border-radius: 24px; }
    .ks-hud-rows { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .ks-hud-rows div { display: grid; gap: 2px; }
    .ks-hud-rows dd { font-size: .92rem; }
    .ks-hud-total strong { font-size: 1.7rem; }
    .ks-compare th, .ks-compare td { padding: 13px 12px; font-size: .9rem; }

    .ks-bento { grid-template-columns: 1fr; }
    .ks-tile-wide { grid-column: auto; }
    .ks-tile { min-height: 0; padding: 26px; }
    .ks-pro-visual { min-height: 480px; }
    .ks-pro-orbit span { width: 360px; height: 360px; }
    .ks-pro-orbit span:nth-child(2) { width: 280px; height: 280px; }
    .ks-form-row, .ks-form-row-3 { grid-template-columns: 1fr; }
    .ks-footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ks-glass, .ks-nav-inner { background: rgba(28, 30, 36, .94); }
}
.ks-req { color: var(--ks-gold); font-weight: 700; }

/* ---------- Kassio: aggiunte ---------- */
.ks-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ks-step-card .ks-eyebrow .ks-pro-tag { margin-left: 6px; letter-spacing: .04em; }
.ks-pro-tag { background: linear-gradient(120deg, #fff0b8, var(--ks-gold) 50%, #d99a2b); color: #1f1400; }

/* Lingue */
.ks-lang { display: inline-flex; gap: 2px; margin-left: 6px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.ks-nav-links .ks-lang a { padding: 5px 9px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: rgba(245, 245, 247, .6); }
.ks-nav-links .ks-lang a[aria-current="true"] { color: #1f1400; background: var(--ks-gold); }

/* Rotolini */
/* Colori delle fasce dei rotolini */
.ks-band-1c { --band: #e8eef2; }
.ks-band-2c { --band: #9aa0a6; }
.ks-band-5c { --band: #e5484d; }
.ks-band-10c { --band: #3b82f6; }
.ks-band-20c { --band: #f59e0b; }
.ks-band-50c { --band: #22c55e; }
.ks-band-1e { --band: #facc15; }
.ks-band-2e { --band: #a855f7; }
.ks-roll-item:nth-child(1) { transition-delay: 0ms; }
.ks-roll-item:nth-child(2) { transition-delay: 50ms; }
.ks-roll-item:nth-child(3) { transition-delay: 100ms; }
.ks-roll-item:nth-child(4) { transition-delay: 150ms; }
.ks-roll-item:nth-child(5) { transition-delay: 200ms; }
.ks-roll-item:nth-child(6) { transition-delay: 250ms; }
.ks-roll-item:nth-child(7) { transition-delay: 300ms; }
.ks-roll-item:nth-child(8) { transition-delay: 350ms; }

.ks-rolls-grid { display: grid; gap: 48px; }
.ks-rolls-head { text-align: center; }
.ks-rolls-head .ks-lead { max-width: 640px; margin: 0 auto; }
.ks-rolls-head h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); letter-spacing: -.045em; margin-bottom: 20px; }
.ks-roll-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ks-roll-item { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "visual visual" "text value"; grid-template-rows: auto 1fr; align-items: end; gap: 16px 10px; padding: 20px; border-radius: 24px; }
.ks-roll-item .ks-roll-visual { grid-area: visual; align-self: start; }
.ks-roll-item .ks-roll-text { grid-area: text; }
.ks-roll-item .ks-roll-value { grid-area: value; font-size: 1.1rem; }
.ks-roll-visual { position: relative; flex: none; width: 100%; height: 52px; display: flex; align-items: center; }
.ks-roll-tube {
    position: absolute; left: 20px; right: 0; top: 5px; bottom: 5px; border-radius: 10px;
    background:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 4px),
        linear-gradient(180deg, rgba(255, 255, 255, .55), transparent 40%, rgba(0, 0, 0, .25)),
        var(--band);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 6px 18px color-mix(in srgb, var(--band) 35%, transparent);
}
.ks-roll-coin {
    position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: rgba(40, 24, 0, .85);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), inset 0 -3px 6px rgba(0, 0, 0, .25), 0 4px 10px rgba(0, 0, 0, .4);
}
.ks-roll-coin b { position: relative; z-index: 1; }
.ks-roll-coin.is-copper { background: radial-gradient(circle at 35% 30%, #f3b48a, #b86b3e 55%, #7c3f1f); color: rgba(50, 20, 5, .85); }
.ks-roll-coin.is-gold { background: radial-gradient(circle at 35% 30%, #fff0b0, #d9b049 55%, #9a7420); }
.ks-roll-coin.is-bimetal { background: radial-gradient(circle at 35% 30%, #fff0b0, #d9b049 55%, #9a7420); }
.ks-roll-coin.is-bimetal::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff, #c4c8cd 55%, #80858c); }
.ks-roll-coin.is-bimetal.is-two { background: radial-gradient(circle at 35% 30%, #ffffff, #c4c8cd 55%, #80858c); }
.ks-roll-coin.is-bimetal.is-two::before { background: radial-gradient(circle at 35% 30%, #fff0b0, #d9b049 55%, #9a7420); }
.ks-roll-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ks-roll-text strong { margin-bottom: 3px; }
.ks-roll-text strong { font-size: 1.15rem; }
.ks-roll-text span { color: var(--ks-muted); font-size: .84rem; line-height: 1.35; }
.ks-roll-value { font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ks-gold); white-space: nowrap; }

/* iPad */
.ks-devices-lead { max-width: 720px; margin: 22px auto 0; }
.ks-ipad-scene { display: grid; place-items: center; perspective: 1600px; padding: 10px 0 20px; }
.ks-ipad {
    position: relative; width: min(560px, 88vw); aspect-ratio: 1200 / 1600; padding: 2.4%;
    border-radius: 5.6% / 4.2%;
    background: linear-gradient(145deg, #e7e9ec, #9aa0a8 30%, #5d636b 55%, #c9cdd2 80%, #7b8189);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5), inset 0 0 0 7px #0b0c0e, 0 60px 120px rgba(0, 0, 0, .6), 0 0 120px rgba(245, 196, 81, .12);
    transform: rotateX(14deg) rotateY(-8deg) rotateZ(1deg);
    transform-style: preserve-3d; transition: transform .25s ease-out;
}
.ks-ipad img { width: 100%; height: 100%; object-fit: cover; border-radius: 3.6% / 2.7%; background: #000; }
.ks-ipad .ks-device-glare { inset: 2.4%; border-radius: 3.6% / 2.7%; }
.ks-pills { list-style: none; margin: 30px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ks-pills li { padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; }

/* Confronto gratis / Pro */
.ks-compare { margin: 70px auto 0; max-width: 860px; border-radius: 30px; overflow: hidden; }
.ks-compare table { width: 100%; border-collapse: collapse; }
.ks-compare th, .ks-compare td { padding: 16px 24px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .07); font-variant-numeric: tabular-nums; }
.ks-compare tbody tr:last-child th, .ks-compare tbody tr:last-child td { border-bottom: 0; }
.ks-compare th[scope="row"], .ks-compare thead th:first-child { text-align: left; font-weight: 500; color: rgba(245, 245, 247, .86); }
.ks-compare thead th { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ks-muted); font-weight: 650; background: rgba(255, 255, 255, .03); }
.ks-compare td { color: var(--ks-text); font-weight: 600; width: 22%; }
.ks-compare td:last-child { background: rgba(245, 196, 81, .05); color: var(--ks-gold); }
.ks-yes, .ks-no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; position: relative; }
.ks-yes { background: linear-gradient(135deg, var(--ks-gold), #d99a2b); }
.ks-yes::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #1f1400; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.ks-no { background: rgba(255, 255, 255, .08); }
.ks-no::after { content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 2px; border-radius: 1px; background: var(--ks-faint); }

.ks-legal-note { margin-top: 26px !important; color: var(--ks-faint) !important; font-size: .9rem; }

@media (max-width: 1000px) {
    .ks-roll-list { grid-template-columns: repeat(2, 1fr); }
    .ks-hud { width: 320px; }
}
@media (max-width: 760px) {
    .ks-lang { margin: 8px 0 0; justify-content: center; }
    .ks-nav-links .ks-lang a { flex: 1; text-align: center; padding: 10px; font-size: .85rem; }
    .ks-hud { left: 12px; right: 12px; width: auto; }
    .ks-roll-list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ks-roll-item { padding: 16px; grid-template-areas: "visual visual" "text text" "value value"; gap: 10px; }
    .ks-compare th, .ks-compare td { padding: 13px 12px; font-size: .9rem; }
    .ks-compare { margin-top: 50px; border-radius: 24px; }
    .ks-ipad { transform: rotateX(8deg) rotateY(-4deg); }
}
