/* Proseleaf — sito. Colori presi dal logo (assets/icon.svg). */
@font-face {
  font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --deep: #0b1711; --dark: #0f1f17; --mid: #22392d; --line: rgba(255,255,255,.09);
  --green: #3fae62; --glow: #7ff09c; --yellow: #ecec6e;
  --fg: #eef3ef; --muted: rgba(238,243,239,.68); --faint: rgba(238,243,239,.45);
  --card: rgba(255,255,255,.04); --card-hi: rgba(255,255,255,.07);
  --grad: linear-gradient(90deg, var(--glow), var(--yellow));
  --radius: 22px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  color-scheme: dark;
}
:lang(ja) { --font: "Manrope", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--deep); color: var(--fg);
  font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--glow); text-decoration-thickness: 1px; text-underline-offset: 3px; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:lang(ja) em { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
kbd {
  font: 600 .82em/1 var(--font); padding: .28em .5em .32em; border-radius: 7px; white-space: nowrap;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-bottom-width: 2px;
}
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* sfondo con aloni come nel logo */
.glow-bg { position: relative; isolation: isolate; }
.glow-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 18% 8%, rgba(63,174,98,.30), transparent 70%),
    radial-gradient(700px 500px at 88% 30%, rgba(236,236,110,.10), transparent 70%),
    radial-gradient(800px 700px at 50% 100%, rgba(127,240,156,.08), transparent 70%),
    linear-gradient(170deg, var(--mid) 0%, var(--dark) 40%, var(--deep) 100%);
}

/* ------------------------------------------------ banner promo */
.promo {
  position: relative; z-index: 30; display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 52px; background: var(--grad); color: var(--dark); font-size: 15px; text-align: center;
}
.promo strong { font-weight: 800; }
.promo s { opacity: .6; }
.promo a.promo-cta { color: var(--dark); font-weight: 800; white-space: nowrap; }
.promo-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--dark); cursor: pointer; font-size: 20px; line-height: 1;
}
.promo-close:hover { background: rgba(0,0,0,.08); }
.promo[hidden] { display: none; }

/* ------------------------------------------------ navigazione */
.nav {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(11,23,17,.62); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(11,23,17,.82); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(63,174,98,.45)); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--fg); }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px;
  color: var(--muted); font-weight: 600; font-size: 15px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--fg); background: var(--card-hi); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 170px;
  background: #13261c; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.lang li a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--fg); text-decoration: none; font-size: 15px; }
.lang li a:hover { background: var(--card-hi); }
.lang li a[aria-current="true"] { color: var(--glow); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 14px;
  font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer; border: 0; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: var(--dark); box-shadow: 0 10px 40px rgba(63,174,98,.35); }
.btn-primary:hover { box-shadow: 0 14px 50px rgba(63,174,98,.5); }
.btn-ghost { background: var(--card-hi); color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.11); }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 11px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------ hero */
.hero { padding: 84px 0 0; text-align: center; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--glow); background: rgba(127,240,156,.08); border: 1px solid rgba(127,240,156,.2);
}
.hero h1 {
  margin: 22px auto 0; max-width: 15ch; font-size: clamp(42px, 7vw, 84px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800;
}
:lang(ja) .hero h1, :lang(de) .hero h1 { max-width: 18ch; }
.hero .sub { margin: 24px auto 0; max-width: 40em; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--faint); }
.shot {
  position: relative; margin: 64px auto -2px; max-width: 1100px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  box-shadow: 0 -10px 120px rgba(63,174,98,.22), 0 0 0 1px rgba(255,255,255,.1);
}
.shot img { width: 100%; height: auto; }
.shot::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--deep)); }

/* ------------------------------------------------ sezioni */
section { scroll-margin-top: 80px; }
.section { padding: 110px 0; }
.section-title { margin: 0 auto; max-width: 20ch; text-align: center; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
:lang(ja) .section-title { max-width: 24ch; }
.section-sub { margin: 18px auto 0; text-align: center; max-width: 36em; color: var(--muted); font-size: 19px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.feature {
  padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: background .2s, border-color .2s, transform .2s;
}
.feature:hover { background: var(--card-hi); border-color: rgba(127,240,156,.22); transform: translateY(-2px); }
.feature .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--dark);
  background: var(--grad); box-shadow: 0 8px 26px rgba(63,174,98,.3);
}
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { margin: 18px 0 6px; font-size: 20px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.show { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 64px; padding: 70px 0; }
.show:nth-child(even) { grid-template-columns: 7fr 5fr; }
.show:nth-child(even) .show-text { order: 2; }
.show h3 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
.show p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.show figure { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1), 0 0 70px rgba(63,174,98,.14); }

.trailer-box {
  position: relative; max-width: 1000px; margin: 50px auto 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1), 0 0 90px rgba(63,174,98,.2); background: var(--dark);
}
.trailer-box video, .trailer-box img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; background: transparent;
}
.play span {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--dark);
  box-shadow: 0 0 0 14px rgba(127,240,156,.15), 0 20px 60px rgba(0,0,0,.5); transition: transform .2s;
}
.play:hover span { transform: scale(1.06); }
.play svg { width: 36px; height: 36px; margin-left: 5px; }

.privacy-band { text-align: center; padding: 90px 24px; border-block: 1px solid var(--line); background: radial-gradient(600px 300px at 50% 0, rgba(63,174,98,.14), transparent 70%); }
.privacy-band .lock { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--glow); }
.privacy-band h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; }
.privacy-band p { margin: 16px auto 0; max-width: 36em; color: var(--muted); font-size: 19px; }

.pricing {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 940px; margin: 56px auto 0; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(127,240,156,.25); background: var(--card); box-shadow: 0 30px 100px rgba(0,0,0,.4), 0 0 80px rgba(63,174,98,.15);
}
.price-side { padding: 44px; background: radial-gradient(500px 300px at 0 0, rgba(63,174,98,.25), transparent 70%); border-right: 1px solid var(--line); }
.price-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: var(--dark); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.price { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.price .new { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price .old { font-size: 26px; color: var(--faint); text-decoration: line-through; }
.price-once { margin-top: 6px; color: var(--muted); }
.price-side .btn { margin-top: 30px; width: 100%; }
.price-list { margin: 0; padding: 44px; list-style: none; display: grid; gap: 16px; align-content: center; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.price-list svg { width: 22px; height: 22px; flex: none; color: var(--glow); margin-top: 2px; }

.faq { max-width: 780px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-size: 19px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 400; color: var(--glow); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 4px 24px; color: var(--muted); }

.final-cta { text-align: center; padding: 110px 24px 120px; }
.final-cta img { width: 96px; height: 96px; margin: 0 auto 26px; filter: drop-shadow(0 0 30px rgba(63,174,98,.5)); }
.final-cta h2 { margin: 0; font-size: clamp(34px, 5vw, 60px); letter-spacing: -.035em; line-height: 1.05; }
.final-cta .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ------------------------------------------------ download */
.dl { padding: 90px 0 120px; text-align: center; }
.dl h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.035em; line-height: 1.05; }
.dl .sub { margin: 18px auto 0; max-width: 34em; color: var(--muted); font-size: 19px; }
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 54px auto 0; text-align: left; }
.store {
  position: relative; padding: 36px; border-radius: 26px; background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.store.primary { border-color: rgba(127,240,156,.3); background: radial-gradient(500px 260px at 0 0, rgba(63,174,98,.22), transparent 70%), var(--card); box-shadow: 0 0 80px rgba(63,174,98,.15); }
.store .os { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.store .os svg { width: 30px; height: 30px; }
.store p { margin: 0; color: var(--muted); font-size: 16px; }
.store .btn { margin-top: auto; align-self: flex-start; }
.soon { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--yellow); border: 1px solid rgba(236,236,110,.4); align-self: flex-start; }
.store .promo-line { color: var(--fg); font-weight: 600; }
.store .promo-line s { color: var(--faint); font-weight: 500; }
.back { display: inline-block; margin-top: 46px; color: var(--muted); }

/* ------------------------------------------------ privacy (pagina) */
.legal { max-width: 46rem; margin: 0 auto; padding: 50px 24px 90px; }
.legal .langs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.legal .langs a { text-decoration: none; }
.legal section { padding-top: 34px; }
.legal section + section { border-top: 1px solid var(--line); margin-top: 44px; }
.legal h1 { font-size: 32px; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 4px; }
.legal h2 { font-size: 19px; margin: 30px 0 6px; }
.legal .date { color: var(--faint); font-size: 14px; margin: 0 0 18px; }
.legal .lead { font-size: 19px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--fg); }
.legal li { margin: 6px 0; }
.legal code { font-size: .9em; color: var(--fg); }

/* ------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--faint); font-size: 15px; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.footer .brand { font-size: 17px; }
.footer .brand img { width: 26px; height: 26px; }
.footer .tag { color: var(--faint); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.footer nav a, .footer nav button { color: var(--muted); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer nav a:hover, .footer nav button:hover { color: var(--fg); }
.footer .copy { width: 100%; }

/* ------------------------------------------------ banner cookie */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin-left: auto;
  padding: 22px; border-radius: 20px; background: #13261c; border: 1px solid rgba(127,240,156,.22);
  box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: up .35s ease-out;
}
@keyframes up { from { transform: translateY(20px); opacity: 0; } }
.consent h2 { margin: 0 0 6px; font-size: 18px; }
.consent p { margin: 0; color: var(--muted); font-size: 15px; }
.consent .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.consent .row a { margin-left: auto; font-size: 14px; }
.consent[hidden] { display: none; }

/* ------------------------------------------------ comparsa allo scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------ telefono e tablet */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .show, .show:nth-child(even) { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .show:nth-child(even) .show-text { order: 0; }
  .pricing, .stores { grid-template-columns: 1fr; }
  .price-side { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav .wrap { gap: 12px; }
  .nav .lang { margin-left: auto; }
  .hero { padding-top: 56px; }
  .features { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .price-side, .price-list, .store { padding: 28px; }
  .promo { font-size: 14px; padding: 9px 44px 9px 14px; flex-wrap: wrap; gap: 4px 10px; }
  .footer nav { margin-left: 0; }
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
}
