/* Sito dello strumento video AI di Proiset (nome da decidere): landing e pagina dei prezzi, solo interfaccia.
   Stile 4 «Creator», tema chiaro su fondo neutro (kit del brand, 18/10/2026). */

/* Il font si serve dal nostro dominio (font/), non da Google Fonts: così l'indirizzo IP di chi visita non va a
   Google (18/10, con le pagine Privacy e Terms). Plus Jakarta Sans variabile, licenza SIL OFL 1.1 (font/OFL.txt),
   presa da @fontsource-variable/plus-jakarta-sans 5.3.0. */
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(font/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(font/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f7f3ee; --bg2: #efe8df; --card: #ffffff; --card2: #fbf8f4;
  --line: #e6ded3; --line2: #d6cbbd;
  --text: #16120e; --muted: #6b635a; --faint: #9c9288;
  --accent: #e8461e; --accent-dark: #c2350f; --on-accent: #ffffff;
  --accent-soft: rgba(232, 70, 30, .10);
  --shadow: rgba(70, 45, 20, .16);
  --yt: #ff0033; --tt: #111111;
  --ig: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 84px; }

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 99px; font-weight: 700; font-size: 16px; white-space: nowrap; cursor: default; }
.btn-a { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px var(--accent-soft); }
/* dal 18/10 i bottoni portano all'app (app.hypefox.app) */
a.btn, a.pill-cta { cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
a.btn-a:hover, a.pill-cta:hover { background: var(--accent-dark); }
a.btn-g:hover { border-color: var(--text); }
a.btn:active { transform: translateY(1px); }
.nav-r a:not(.btn):hover { color: var(--accent); }
.btn-g { background: var(--card); border: 1.5px solid var(--line2); color: var(--text); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.link-es { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 10px; font-weight: 700; font-size: 16px; }
.link-es i { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; background: var(--card); }

/* ---------- menu ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(247, 243, 238, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.nav .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
/* il logo: la volpe «Play» (brand/05-logo/, scelta da Mattia il 18/10) */
.mark { width: 38px; height: 38px; background: url(img/logo.svg) center / contain no-repeat; flex: none; }
.links { display: flex; gap: 34px; font-size: 15px; font-weight: 600; color: var(--muted); }
.links a:hover, .links a.qui { color: var(--text); }
.nav-r { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 600; }

/* ---------- le tre icone delle reti, dentro un titolo ---------- */
.reti-in { display: inline-flex; vertical-align: middle; margin: 0 .04em; position: relative; top: -.07em; }
.reti-in span { width: .87em; height: .87em; border-radius: 50%; display: grid; place-items: center; border: .055em solid var(--bg); box-shadow: 0 .11em .24em var(--shadow); }
.reti-in span + span { margin-left: -.22em; }
.r-yt { background: var(--yt); } .r-ig { background: var(--ig); } .r-tt { background: var(--tt); }
.reti-in .r-yt svg { width: .33em; height: .33em; margin-left: .03em; }
.reti-in .r-ig svg { width: .39em; height: .39em; }
.reti-in .r-tt svg { width: .32em; height: .36em; }

/* ---------- hero ---------- */
.hero { padding: 132px 0 0; text-align: center; }
.hero h1 { font-size: clamp(46px, 6.4vw, 92px); line-height: 1.06; font-weight: 800; letter-spacing: -.04em; }
.hero h1 em, .sez-tit h2 em { font-style: normal; color: var(--accent); }
.hero .sub { font-size: 20px; color: var(--muted); font-weight: 500; margin-top: 30px; }
.ctas { display: flex; align-items: center; gap: 12px; margin-top: 42px; }
.hero .ctas { justify-content: center; }
/* i video: da computer arrivano ai bordi della pagina (Mattia, 18/10) */
.fila { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 100px; }
.cop { width: 216px; aspect-ratio: 9 / 16; border-radius: 24px; background-size: cover; background-position: center; box-shadow: 0 22px 50px var(--shadow); flex: none; }
/* i video dei cinque stili (18/10): si avviano col clic, uno alla volta, col tastino dell'audio */
.cop[data-video] { position: relative; overflow: hidden; cursor: pointer; background-color: var(--bg2); isolation: isolate; }
.cop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cop-play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(30, 18, 8, .28); cursor: pointer; transition: opacity .25s, transform .25s; }
.cop-play svg { width: 26px; height: 26px; margin-left: 3px; }
.cop[data-video]:hover .cop-play { transform: scale(1.07); }
.cop.in-onda .cop-play { opacity: 0; transform: scale(.8); pointer-events: none; }
.cop-audio { position: absolute; right: 10px; bottom: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(22, 18, 14, .62); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .25s; }
.cop-audio svg { width: 18px; height: 18px; }
.cop.in-onda .cop-audio, .cop.iniziato .cop-audio, .cop-audio:focus-visible { opacity: 1; }
.cop-audio.spento .onde, .cop-audio:not(.spento) .x { display: none; }
.cop-stile { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .93); color: var(--text); font-size: 11.5px; font-weight: 800; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 12px rgba(30, 18, 8, .12); transition: opacity .25s; }
.cop.in-onda .cop-stile { opacity: 0; }
/* il video al centro: Giulia è un personaggio creato con l'AI (Mattia, 18/10). Etichetta rossa in basso a sinistra,
   sulla stessa riga del tastino dell'audio; resta anche mentre il video va */
.cop-ai { position: absolute; left: 10px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 16px rgba(232, 70, 30, .35); }
.cop-ai svg { width: 14px; height: 14px; flex: none; }
.cop-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .3); opacity: 0; transition: opacity .25s; pointer-events: none; }
.cop-barra i { display: block; height: 100%; width: 0; background: var(--accent); }
.cop.iniziato .cop-barra { opacity: 1; }
.cop.grande { width: 260px; }

/* ---------- titoli delle sezioni ---------- */
.sez { padding-top: 160px; }
.sez-tit { text-align: center; max-width: 960px; margin: 0 auto; }
.sez-tit h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.sez-tit p { font-size: 19px; color: var(--muted); margin-top: 14px; font-weight: 500; text-wrap: balance; }
/* il bottone «Start free» dentro il titolo, uguale a quello del menu */
.pill-cta { display: inline-flex; align-items: center; height: 2.3em; padding: 0 1.1em; margin: 0 .12em; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: .42em; font-weight: 700; letter-spacing: 0; vertical-align: middle; position: relative; top: -.15em; box-shadow: 0 10px 24px var(--accent-soft); }

/* ---------- i tre passi: tu una volta, poi fa tutto lui ---------- */
.passi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.passo { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 30px; position: relative; overflow: hidden; }
.passo .n { position: absolute; right: 24px; top: 16px; font-size: 76px; font-weight: 800; letter-spacing: -.05em; color: var(--accent-soft); line-height: 1; }
.ic { width: 52px; height: 52px; border-radius: 17px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.passo b, .carta b { display: block; font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin-top: 18px; }
.passo p, .carta p { font-size: 16px; line-height: 1.55; color: var(--muted); margin-top: 8px; font-weight: 500; }
.chi-fa { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 800; background: var(--bg2); color: var(--muted); }
.chi-fa.auto { background: var(--accent-soft); color: var(--accent); }
.chi-fa.auto::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.modo { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; text-align: center; }
.interruttore { display: inline-flex; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; }
.interruttore span { padding: 9px 18px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--muted); }
.interruttore span.on { background: var(--text); color: #fff; }
.modo p { font-size: 15.5px; color: var(--muted); font-weight: 500; }

/* ---------- l'app finta: il calendario che si riempie da solo ---------- */
.app { position: relative; margin-top: 52px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 34px 80px var(--shadow); overflow: hidden; }
.app-barra { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--card2); }
.app-barra i { width: 11px; height: 11px; border-radius: 50%; background: var(--line2); }
.app-corpo { display: grid; grid-template-columns: 214px 1fr; height: 480px; }
.app-menu { border-right: 1px solid var(--line); padding: 20px 14px; background: var(--card2); }
.app-logo { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px; margin-bottom: 18px; font-weight: 800; font-size: 16px; }
.app-logo .mark { width: 30px; height: 30px; }
.voce-menu { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; margin-bottom: 4px; border-radius: 12px; font-size: 14.5px; font-weight: 700; color: var(--muted); transition: background .3s, color .3s; }
.voce-menu svg { flex: none; }
.m-home { background: var(--accent-soft); color: var(--accent); }
.app.clic .m-home, .app.cal .m-home { background: transparent; color: var(--muted); }
.app.clic .m-cal { background: var(--bg2); color: var(--text); }
.app.cal .m-cal { background: var(--accent-soft); color: var(--accent); }
.app-main { position: relative; }
.vista { position: absolute; inset: 24px 26px; transition: opacity .45s, transform .45s; }
.app.clic .vista-home { opacity: 0; transform: translateY(8px); }
.vista-cal { opacity: 0; transform: translateY(12px); }
.app.cal .vista-cal { opacity: 1; transform: none; }
.app.esci .vista-cal { opacity: 0; }
/* la vista «home» prima del clic */
.vista-home h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.vista-home > p { font-size: 15px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.numeri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.numeri div { background: var(--bg); border-radius: 16px; padding: 16px 18px; }
.numeri small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.numeri b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.numeri b em { font-style: normal; font-size: 14px; color: var(--accent); margin-left: 4px; }
.prossimo { margin-top: 14px; background: var(--bg); border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; }
.prossimo .mini { width: 46px; height: 64px; border-radius: 9px; background-size: cover; background-position: center; flex: none; }
.prossimo small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.prossimo b { font-size: 16px; font-weight: 800; }
/* la vista «calendario» */
.cal-testa { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 40px; }
.cal-testa b { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.stato { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--muted); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.app.pianifica .stato { opacity: 1; }
.stato .pallino { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulsa 1s infinite; }
.stato .s2 { display: none; }
.app.fatto .stato { color: var(--text); }
.app.fatto .stato .s1 { display: none; }
.app.fatto .stato .s2 { display: inline; }
.app.fatto .stato .pallino { animation: none; }
@keyframes pulsa { 50% { opacity: .25; } }
.cal-griglia { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 16px; height: 376px; }
.giorno { position: relative; border-radius: 14px; padding-top: 10px; background: var(--bg) repeating-linear-gradient(to bottom, transparent 0 63px, var(--line) 63px 64px); background-position: 0 34px; }
.giorno small { display: block; text-align: center; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; color: var(--muted); }
.slot { position: absolute; left: 7px; right: 7px; padding: 6px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 24px var(--shadow); opacity: 0; transform: translateY(-16px) scale(.9); transition: opacity .35s, transform .5s cubic-bezier(.2, .9, .3, 1.3); }
.slot .mini { height: 78px; border-radius: 8px; background-size: cover; background-position: center 30%; }
.slot b { display: block; font-size: 12.5px; font-weight: 800; margin-top: 6px; padding-left: 2px; }
.reti-mini { display: flex; gap: 3px; margin-top: 3px; padding-left: 2px; }
.reti-mini i { width: 10px; height: 10px; border-radius: 50%; }
.reti-mini i:nth-child(1) { background: var(--yt); } .reti-mini i:nth-child(2) { background: var(--ig); } .reti-mini i:nth-child(3) { background: var(--tt); }
.s-1 { top: 44px; } .s-2 { top: 128px; } .s-3 { top: 222px; } .s-4 { top: 70px; } .s-5 { top: 236px; }
.app.v1 .s-1, .app.v2 .s-2, .app.v3 .s-3, .app.v4 .s-4, .app.v5 .s-5 { opacity: 1; transform: none; }
.cursore { position: absolute; z-index: 5; left: 74%; top: 82%; width: 26px; height: 26px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); transition: left 1s cubic-bezier(.45, 0, .2, 1), top 1s cubic-bezier(.45, 0, .2, 1), transform .15s, opacity .4s; }
.app.vai .cursore { left: 112px; top: 182px; }
.app.clic .cursore { transform: scale(.8); }
.app.cal .cursore { transform: none; }
.app.esci .cursore { opacity: 0; }
.app.ferma * { transition: none !important; }

/* ---------- i numeri decidono: il grafico animato di una settimana vera ---------- */
.grafico { margin-top: 52px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 34px 80px var(--shadow); padding: 34px 40px 24px; }
.g-testa { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.g-testa small { display: block; font-size: 14px; font-weight: 700; color: var(--muted); }
.g-num { display: block; font-size: clamp(60px, 7.4vw, 108px); line-height: .95; font-weight: 800; letter-spacing: -.05em; color: var(--accent); margin-top: 8px; font-variant-numeric: tabular-nums; }
.g-reti { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.g-reti i { width: 14px; height: 14px; border-radius: 50%; }
.g-reti span { margin-left: 4px; }
.g-area { position: relative; aspect-ratio: 1000 / 360; margin-top: 30px; }
.g-area svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.g-riga { stroke: var(--line); stroke-width: 1; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.g-base { stroke: var(--line2); stroke-dasharray: none; }
.g-linea { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.g-etichetta { position: absolute; left: 0; transform: translateY(-130%); font-size: 12px; font-weight: 700; color: var(--faint); }
.g-punto { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent); opacity: 0; transform: scale(.3); transition: opacity .2s, transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.g-punto.on { opacity: 1; transform: none; }
.g-val { position: absolute; padding: 5px 11px; border-radius: 99px; background: var(--text); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; opacity: 0; transition: opacity .35s; }
.g-val.on, .g-nota.on { opacity: 1; }
.g-v1 { transform: translate(16px, -50%); }
.g-v7 { background: var(--accent); transform: translate(calc(-100% - 14px), 45%); }
.g-nota { position: absolute; padding: 6px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 800; white-space: nowrap; transform: translate(18px, 35%); opacity: 0; transition: opacity .4s; }
.g-giorni { position: relative; height: 18px; margin-top: 12px; }
.g-giorni span { position: absolute; transform: translateX(-50%); font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.g-piede { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); }
.g-piede a { color: var(--text); font-weight: 700; }
.g-piede a:hover { color: var(--accent); }

/* ---------- stili ---------- */
.stili { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.stile { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 14px 14px 26px; }
.stile .anteprima { height: 300px; border-radius: 18px; background-size: cover; background-position: center 30%; position: relative; overflow: hidden; }
.stile b { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin: 22px 14px 0; }
.stile p { font-size: 16px; color: var(--muted); margin: 6px 14px 0; font-weight: 500; }
/* Faceless: un piccolo video fatto in CSS, su misura per il riquadro (Mattia, 18/10): tre scene in 9 secondi,
   come lo stile «Icon Explainer» (titolo, icona sulla piastra, sottotitolo), con la barra del tempo sotto */
.faceless-css { background: radial-gradient(70% 80% at 50% 52%, #3b2275 0%, #2b1659 62%, #22104a 100%); color: #fff; }
.fc-scena { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 26px 18px 30px; opacity: 0; animation: 9s linear infinite both; }
.fc-1 { animation-name: fc-vedi-1; } .fc-2 { animation-name: fc-vedi-2; } .fc-3 { animation-name: fc-vedi-3; }
@keyframes fc-vedi-1 { 0%, 32% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes fc-vedi-2 { 0%, 32% { opacity: 0; } 34%, 65% { opacity: 1; } 67%, 100% { opacity: 0; } }
@keyframes fc-vedi-3 { 0%, 65% { opacity: 0; } 67%, 98% { opacity: 1; } 100% { opacity: 0; } }
.fc-tit { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; animation: fc-sale 9s ease-out infinite backwards; }
.fc-tit em, .fc-sott em { font-style: normal; color: #5ee0ff; }
.fc-sott { font-size: 17px; font-weight: 800; letter-spacing: -.01em; animation: fc-sale 9s ease-out infinite backwards; }
.fc-piatto { width: 108px; height: 108px; border-radius: 30px; background: #fff; color: #ff4f9a; display: grid; place-items: center; box-shadow: 7px 8px 0 #160a33; animation: fc-pop 9s ease-out infinite backwards; }
.fc-piatto > span { display: grid; animation: fc-galleggia 2.2s ease-in-out infinite alternate; }
.fc-piatto svg { width: 58px; height: 58px; }
.fc-piatto.piccolo { width: 78px; height: 78px; border-radius: 22px; box-shadow: 5px 6px 0 #160a33; }
.fc-piatto.piccolo svg { width: 42px; height: 42px; }
.fc-coppia { display: flex; align-items: center; gap: 14px; }
.fc-coppia b { font-size: 18px; font-weight: 800; color: #160a33; background: #5ee0ff; border-radius: 99px; padding: 4px 10px; animation: fc-pop 9s ease-out infinite backwards; }
/* ogni scena entra al suo momento: 0 s, 3 s, 6 s (titolo, poi piastra, poi sottotitolo) */
.fc-1 .fc-tit { animation-delay: 0s; } .fc-1 .fc-piatto { animation-delay: .25s; } .fc-1 .fc-sott { animation-delay: .6s; }
.fc-2 .fc-tit { animation-delay: 3s; } .fc-2 .fc-piatto { animation-delay: 3.25s; } .fc-2 .fc-piatto + b { animation-delay: 3.45s; } .fc-2 .fc-piatto:last-child { animation-delay: 3.6s; } .fc-2 .fc-sott { animation-delay: 3.8s; }
.fc-3 .fc-tit { animation-delay: 6s; } .fc-3 .fc-piatto { animation-delay: 6.25s; } .fc-3 .fc-sott { animation-delay: 6.6s; }
@keyframes fc-sale { 0% { opacity: 0; transform: translateY(14px); } 4%, 100% { opacity: 1; transform: none; } }
@keyframes fc-pop { 0% { opacity: 0; transform: scale(.4); } 3% { opacity: 1; transform: scale(1.12); } 5%, 100% { opacity: 1; transform: scale(1); } }
@keyframes fc-galleggia { from { transform: translateY(-3px) rotate(-3deg); } to { transform: translateY(3px) rotate(3deg); } }
.fc-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .18); }
.fc-barra i { display: block; height: 100%; width: 0; background: #ff4f9a; animation: fc-corsa 9s linear infinite; }
@keyframes fc-corsa { from { width: 0; } to { width: 100%; } }
/* AI character: Giulia senza sfondo, in piedi, che dondola appena (18/10, Mattia) */
.personaggio-ai { background: radial-gradient(120% 90% at 50% 100%, #fde3d3 0%, #fbefe6 55%, var(--card2) 100%); display: flex; justify-content: center; align-items: flex-end; }
.personaggio-ai::after { content: ""; position: absolute; left: 50%; bottom: 12px; width: 120px; height: 16px; margin-left: -60px; border-radius: 50%; background: rgba(120, 60, 30, .16); }
.personaggio-ai img { position: relative; z-index: 1; height: calc(100% - 22px); width: auto; margin-bottom: 14px; transform-origin: 50% 100%; animation: dondola 3.4s ease-in-out infinite; }
@keyframes dondola { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-5px) rotate(1.2deg); } }
.stile b .rosso { color: var(--accent); }
.presto { border: 1.5px dashed var(--line2); background: var(--card2); display: grid; place-items: center; }
.presto svg { color: var(--faint); }
.stile.spento b span { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--faint); }
.tag { font-size: 12px; font-weight: 700; font-style: normal; letter-spacing: .02em; padding: 5px 10px; border-radius: 99px; background: var(--bg2); color: var(--muted); }
.voce { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 24px 30px; display: flex; align-items: center; gap: 20px; }
.voce b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.voce p { font-size: 16px; color: var(--muted); font-weight: 500; }
.onda { display: flex; align-items: center; gap: 4px; height: 40px; margin-left: auto; flex: none; }
.onda i { width: 5px; border-radius: 4px; background: var(--accent); }

/* ---------- cosa fa dopo aver pubblicato ---------- */
.carte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.carta { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.carta .ic { background: var(--accent-soft); color: var(--accent); }

/* ---------- domande ---------- */
.domande { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.domanda { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px 28px; }
.domanda b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.015em; }
.domanda p { font-size: 16px; color: var(--muted); margin-top: 8px; font-weight: 500; }

/* ---------- chiusura centrata ---------- */
.finale { padding-top: 170px; text-align: center; }
.carte-mini { display: flex; justify-content: center; align-items: flex-end; height: 214px; }
.mini-cop { width: 112px; aspect-ratio: 152 / 270; border-radius: 16px; background-size: cover; background-position: center; border: 4px solid var(--card); box-shadow: 0 16px 36px var(--shadow); }
.mini-cop.m1 { transform: rotate(-10deg) translate(22px, 10px); }
.mini-cop.m2 { position: relative; z-index: 2; transform: translateY(-8px); }
.mini-cop.m3 { transform: rotate(10deg) translate(-22px, 10px); }
.finale h2 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; margin-top: 40px; text-wrap: balance; }
.finale p { font-size: 19px; color: var(--muted); font-weight: 500; margin-top: 14px; }
.finale .btn { margin-top: 34px; height: 60px; padding: 0 38px; font-size: 17px; }
.finale small { display: block; margin-top: 16px; font-size: 14px; color: var(--faint); font-weight: 600; }

/* ---------- piede ---------- */
.piede { margin-top: 120px; padding: 34px 0 44px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--muted); font-weight: 600; }
.piede .logo { font-size: 17px; color: var(--text); }
.piede .mark { width: 32px; height: 32px; }
.piede nav { display: flex; gap: 26px; }
.piede nav a:hover { color: var(--text); }
/* la partita IVA va in home (art. 35 DPR 633/72): sotto il ©, a destra */
.piede > p { text-align: right; line-height: 1.6; }

/* ---------- pagina dei prezzi ---------- */
.testa-pagina { padding-top: 110px; text-align: center; }
.testa-pagina h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; }
.testa-pagina p { font-size: 20px; color: var(--muted); font-weight: 500; margin-top: 18px; }
.piani { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; align-items: stretch; }
.piano { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 30px 26px; display: flex; flex-direction: column; }
.piano h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.piano .chi { font-size: 14.5px; color: var(--muted); font-weight: 500; margin-top: 6px; min-height: 44px; }
.prezzo { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.prezzo b { font-size: 54px; line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.prezzo span { font-size: 15px; color: var(--muted); font-weight: 600; }
.piano ul { margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.piano li { display: flex; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.piano li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23e8461e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.piano li small { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.piano .btn { margin-top: auto; }
.piano.forte { border: 2px solid var(--accent); }
.incluso { margin-top: 26px; text-align: center; font-size: 16px; color: var(--muted); font-weight: 500; }
.incluso b { color: var(--text); }

/* ---------- pagine legali: privacy e termini (18/10) ---------- */
.testa-pagina .agg { font-size: 15px; color: var(--faint); font-weight: 600; margin-top: 14px; }
.legale { max-width: 800px; margin: 64px auto 0; }
.legale a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.legale a:hover { color: var(--accent-dark); }
.breve { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px 32px; }
.breve h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.breve ul { margin-top: 14px; display: grid; gap: 12px; }
.breve li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.5; font-weight: 600; }
.breve li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23e8461e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.legale section { padding-top: 56px; scroll-margin-top: 84px; }
.legale section > h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.legale section > h2 .n { color: var(--accent); margin-right: 10px; font-variant-numeric: tabular-nums; }
.legale h3 { font-size: 18px; font-weight: 800; letter-spacing: -.015em; margin-top: 26px; }
.legale p { font-size: 16.5px; line-height: 1.7; margin-top: 14px; color: #3a332c; }
.legale p strong, .legale li strong { color: var(--text); font-weight: 800; }
.legale ul.punti { margin-top: 14px; display: grid; gap: 10px; }
.legale ul.punti li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.65; color: #3a332c; }
.legale ul.punti li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.indirizzo { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; font-size: 16px; line-height: 1.7; font-weight: 600; font-style: normal; }
.indirizzo b { font-weight: 800; }
/* chi riceve i dati: una scheda per fornitore (da telefono si impilano) */
.fornitori { margin-top: 20px; display: grid; gap: 12px; }
.fornitore { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 6px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px 24px; }
.fornitore b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.fornitore small { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); margin-top: 3px; }
.fornitore .dove { display: inline-flex; margin-top: 10px; padding: 4px 10px; border-radius: 99px; background: var(--bg2); color: var(--muted); font-size: 12.5px; font-weight: 800; }
.fornitore .dove.fuori { background: var(--accent-soft); color: var(--accent); }
.fornitore p { margin-top: 0; font-size: 15.5px; line-height: 1.6; }
.fornitore p + p { margin-top: 8px; }
/* il trasferimento in Cina: scritto chiaro, in evidenza */
.riquadro { margin-top: 20px; border-radius: 22px; padding: 22px 26px; background: var(--accent-soft); border: 1.5px solid rgba(232, 70, 30, .28); }
.riquadro h3 { margin-top: 0; color: var(--accent-dark); }
.riquadro p { margin-top: 10px; }
.legale .chiusa { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); font-weight: 500; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .links { display: none; }
  .cop { width: 17%; } .cop.grande { width: 21%; }
  .piani { grid-template-columns: repeat(2, 1fr); }
  .app-corpo { grid-template-columns: 180px 1fr; }
}
/* ---------- telefono ---------- */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav-r > span:first-child { display: none; }
  .hero { padding-top: 72px; }
  .hero .sub { font-size: 18px; margin-top: 22px; }
  .ctas { flex-direction: column; gap: 6px; margin-top: 30px; }
  .fila { margin-top: 64px; gap: 10px; }
  .fila .cop:first-child, .fila .cop:last-child { display: none; }
  .cop { width: 30%; border-radius: 18px; } .cop.grande { width: 36%; }
  .cop-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; } .cop-play svg { width: 19px; height: 19px; margin-left: 2px; }
  .cop-stile { display: none; }
  /* sul telefono il video al centro è stretto: «AI character» sopra e «Giulia» sotto */
  .cop-ai { left: 7px; bottom: 10px; gap: 5px; padding: 5px 9px 5px 7px; border-radius: 10px; font-size: 10px; line-height: 1.15; }
  .cop.con-ai .cop-audio { top: 7px; bottom: auto; } /* in fondo c'è l'etichetta: l'audio va in alto a destra */
  .cop-ai svg { width: 12px; height: 12px; }
  .cop-ai .sep { display: none; } .cop-ai .nome { display: block; font-size: 9.5px; opacity: .92; }
  .cop-audio { width: 30px; height: 30px; right: 7px; bottom: 11px; } .cop-audio svg { width: 16px; height: 16px; }
  .sez { padding-top: 110px; }
  .passi, .stili, .carte, .domande, .piani { grid-template-columns: 1fr; }
  .modo { flex-direction: column; gap: 12px; }
  /* l'app finta da telefono: menu a icone, cinque giorni */
  .app-corpo { grid-template-columns: 56px 1fr; height: 410px; }
  .app-menu { padding: 16px 8px; }
  .app-logo { justify-content: center; padding: 0; }
  .app-logo .t, .voce-menu .t { display: none; }
  .voce-menu { justify-content: center; padding: 0; }
  .app.vai .cursore { left: 30px; top: 176px; }
  .vista { inset: 16px 12px; }
  .numeri { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
  .numeri div { padding: 12px 14px; }
  .numeri b { font-size: 20px; }
  .numeri b em { font-size: 12px; }
  .vista-home h3 { font-size: 20px; }
  .vista-home > p { font-size: 13.5px; }
  .prossimo { padding: 12px 14px; }
  .prossimo b { font-size: 14px; }
  .numeri div:nth-child(3) { display: none; }
  .cal-testa b { font-size: 15px; }
  .stato { font-size: 11.5px; padding: 5px 9px; }
  .cal-griglia { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; height: 318px; }
  .giorno:nth-child(n+6) { display: none; }
  .slot { left: 4px; right: 4px; padding: 4px; border-radius: 9px; }
  .slot .mini { height: 54px; border-radius: 6px; }
  .slot b { font-size: 11px; }
  .reti-mini { display: none; }
  .s-1 { top: 34px; } .s-2 { top: 100px; } .s-3 { top: 176px; } .s-4 { top: 56px; } .s-5 { top: 204px; }
  .grafico { padding: 24px 18px 18px; }
  .g-testa { flex-direction: column; gap: 10px; }
  .g-area { margin-top: 26px; }
  .g-etichetta { font-size: 10.5px; }
  .g-val, .g-nota { font-size: 12px; padding: 4px 9px; }
  .g-giorni span { font-size: 10.5px; }
  .g-punto { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-width: 2.5px; }
  .voce { flex-wrap: wrap; }
  .onda { margin-left: 0; }
  .finale { padding-top: 120px; }
  .legale { margin-top: 40px; }
  .breve { padding: 22px 20px; border-radius: 22px; }
  .legale section { padding-top: 44px; }
  .fornitore { grid-template-columns: minmax(0, 1fr); padding: 18px 18px; }
  .riquadro { padding: 18px 18px; }
  .piede { flex-direction: column; align-items: flex-start; }
  .piede > p { text-align: left; }
  .piede nav { flex-wrap: wrap; gap: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stato .pallino { animation: none; }
  .cursore { display: none; }
  .personaggio-ai img { animation: none; }
  .fc-scena, .fc-tit, .fc-sott, .fc-piatto, .fc-piatto > span, .fc-coppia b, .fc-barra i { animation: none; }
  .fc-1 { opacity: 1; }
}
