/* ==========================================================
   AndreaFaSiti — stile principale
   ========================================================== */
:root {
  --bg: #0a0c10;
  --bg-2: #0f1218;
  --surface: #141820;
  --surface-2: #1a1f29;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f2f4f7;
  --muted: #9aa3b2;
  --accent: #c6ff3d;
  --accent-2: #3dffc2;
  --accent-ink: #0a0c10;
  --wa: #25d366;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; margin: 0; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }
.text-accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 60%, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Pulsanti ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2;
  border: 1px solid transparent; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
  transform: translate(var(--mx), var(--my));
}
.btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn svg.fill { fill: currentColor; stroke: none; }
.btn:hover svg:not(.fill) { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(198, 255, 61, .55); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(198, 255, 61, .7); }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-whatsapp { background: var(--wa); color: #06210f; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6); }
.btn-whatsapp:hover { box-shadow: 0 16px 40px -10px rgba(37, 211, 102, .8); }
.btn-lg { padding: 1.1em 1.7em; font-size: 1.05rem; }
.btn-sm { padding: .7em 1.15em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn:active { transform: translate(var(--mx), var(--my)) scale(.97); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: height .4s var(--ease);
}
/* lo sfondo sfocato sta su uno pseudo-elemento: così il menu mobile (fixed) copre tutto lo schermo anche dopo lo scroll */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: rgba(10, 12, 16, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled::before { opacity: 1; }
.site-header.scrolled { --header-h: 64px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.logo b { color: var(--accent); font-weight: 800; }
.logo-mark { width: 36px; height: 36px; transition: transform .5s var(--ease); }
.logo-mark rect { fill: var(--accent); }
.logo-mark text { fill: var(--accent-ink); font: 900 13px var(--font); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav ul a { position: relative; font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .25s; padding: 6px 0; }
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a.active { color: var(--text); }
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 36px;
    background: rgba(10, 12, 16, .97);
    clip-path: circle(0 at calc(100% - 42px) 36px); visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .main-nav.open { clip-path: circle(150% at calc(100% - 42px) 36px); visibility: visible; transition: clip-path .7s var(--ease); }
  .main-nav ul { flex-direction: column; align-items: center; gap: 18px; }
  .main-nav ul a { font-size: 1.6rem; font-weight: 700; color: var(--text); }
  .main-nav li { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease); }
  .main-nav.open li { opacity: 1; transform: none; }
  .main-nav.open li:nth-child(2) { transition-delay: .05s; } .main-nav.open li:nth-child(3) { transition-delay: .1s; }
  .main-nav.open li:nth-child(4) { transition-delay: .15s; } .main-nav.open li:nth-child(5) { transition-delay: .2s; }
  .main-nav.open li:nth-child(6) { transition-delay: .25s; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 56px) 0 64px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: float 18s ease-in-out infinite alternate; }
.blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(198,255,61,.55), transparent 65%); top: -160px; right: -120px; }
.blob-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(61,255,194,.4), transparent 65%); bottom: -120px; left: -160px; animation-duration: 22s; }
.blob-3 { width: 340px; height: 340px; background: radial-gradient(circle, rgba(120,90,255,.35), transparent 65%); top: 30%; left: 45%; animation-duration: 26s; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 30px) scale(.95); }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: .6;
}
.hero-inner { display: grid; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: .88rem; font-weight: 600; color: var(--muted);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-out 3; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }
.hero h1 { font-size: clamp(2.1rem, 8.5vw, 4.9rem); overflow-wrap: break-word; margin: 22px 0 22px; letter-spacing: -.035em; }
.hero-sub { font-size: clamp(1.08rem, 2.6vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.rotator { display: table; white-space: nowrap; color: var(--text); font-weight: 700; position: relative; min-height: 1.65em; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; background: var(--accent); border-radius: 2px; }
.rotator-word { display: inline-block; transition: opacity .4s, transform .5s var(--ease); }
.rotator-word.out { opacity: 0; transform: translateY(-.5em); }
.rotator-word.in { opacity: 0; transform: translateY(.5em); transition: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; color: var(--muted); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Mockup browser */
.hero-visual { position: relative; max-width: 560px; width: 100%; margin-inline: auto; padding: 28px 8px; perspective: 1200px; }
.mock-browser {
  border-radius: 18px; background: linear-gradient(180deg, #1a1f29, #12161d); border: 1px solid var(--line-2);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden;
  transform: rotateY(-10deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .6s var(--ease);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -10px; } }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-url { margin-left: 10px; flex: 1; font-size: .75rem; color: var(--muted); background: rgba(255,255,255,.05); padding: 4px 12px; border-radius: 999px; }
.mock-body { padding: 18px; display: grid; gap: 18px; }
.mock-nav { display: flex; gap: 10px; justify-content: flex-end; }
.mock-nav span { width: 38px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.12); }
.mock-nav span:first-child { margin-right: auto; width: 56px; background: var(--accent); }
.mock-hero {
  border-radius: 14px; padding: 26px 22px; display: grid; gap: 10px;
  background: radial-gradient(circle at 85% 20%, rgba(198,255,61,.25), transparent 50%), linear-gradient(135deg, #1f2633, #161b24);
}
.mock-line { height: 14px; border-radius: 7px; background: rgba(255,255,255,.85); }
.mock-line.thin { height: 8px; background: rgba(255,255,255,.3); }
.w80 { width: 80%; } .w60 { width: 60%; } .w40 { width: 45%; }
.mock-btn { width: 110px; height: 30px; border-radius: 999px; background: var(--accent); margin-top: 8px; box-shadow: 0 0 24px rgba(198,255,61,.35); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards span { height: 64px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); position: relative; overflow: hidden; }
.mock-cards span::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); animation: shimmer 2.8s infinite;
}
.mock-cards span:nth-child(2)::after { animation-delay: .3s; } .mock-cards span:nth-child(3)::after { animation-delay: .6s; }
@keyframes shimmer { to { transform: translateX(100%); } }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: rgba(20, 24, 32, .85); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap;
  animation: chip 6s ease-in-out infinite;
}
.chip-ico { font-size: 1rem; }
.chip-1 { top: 4px; left: -4px; }
.chip-2 { bottom: 34%; right: -6px; animation-delay: -2s; }
.chip-3 { bottom: 0; left: 12%; animation-delay: -4s; }
@keyframes chip { 50% { transform: translateY(-12px); } }

/* Statistiche */
.stats {
  margin-top: 72px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stats li { background: var(--bg); padding: 26px 22px; display: grid; gap: 4px; }
.stats strong { font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stats small { font-size: .5em; color: var(--accent); margin-left: 4px; font-weight: 700; }
.stats li > span { color: var(--muted); font-size: .92rem; line-height: 1.4; }

/* ---------- Sezioni ---------- */
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 20%, var(--bg-2) 80%, var(--bg)); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head.center .kicker::after { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
.section-lead { color: var(--muted); font-size: 1.12rem; margin-top: 18px; max-width: 58ch; }
.section-head.center .section-lead { margin-inline: auto; }

/* Card generiche con riflesso che segue il mouse */
.card, .niche-card, .price-card, .step {
  --x: 50%; --y: 50%;
  position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.card::before, .niche-card::before, .price-card::before, .step::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(198,255,61,.12), transparent 45%);
}
.card:hover::before, .niche-card:hover::before, .price-card:hover::before, .step:hover::before { opacity: 1; }
.card:hover, .step:hover { border-color: rgba(198,255,61,.35); transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }

.grid-3 { display: grid; gap: 20px; }
.feature { padding: 34px 28px; }
.icon-box {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px;
  background: rgba(198,255,61,.1); border: 1px solid rgba(198,255,61,.25); transition: transform .6s var(--ease), background-color .4s;
}
.icon-box svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature:hover .icon-box { transform: rotate(-8deg) scale(1.08); background: rgba(198,255,61,.18); }
.feature h3 { font-size: 1.4rem; margin-bottom: 12px; }
.feature p { color: var(--muted); }

/* Nicchie */
.niche-grid { display: grid; gap: 20px; }
.niche-card { display: flex; flex-direction: column; overflow: hidden; }
.niche-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--c1, var(--accent)) 60%, transparent); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--c1, var(--accent)) 50%, transparent); }
.niche-preview {
  position: relative; height: 190px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px;
  background: linear-gradient(135deg, var(--c2), color-mix(in srgb, var(--c1) 70%, var(--c2)));
}
.niche-preview::before {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; top: -80px;
  background: var(--c1); opacity: .5; transition: transform .8s var(--ease);
}
.niche-preview::after {
  content: ""; position: absolute; width: 120px; height: 120px; border-radius: 30px; right: 40px; bottom: -50px;
  border: 2px solid currentColor; opacity: .25; transform: rotate(20deg); transition: transform .8s var(--ease);
}
.niche-card:hover .niche-preview::before { transform: scale(1.25) translate(-20px, 20px); }
.niche-card:hover .niche-preview::after { transform: rotate(60deg) translateY(-14px); }
.np-emoji { position: absolute; top: 22px; left: 22px; font-size: 2.4rem; transition: transform .6s var(--ease); filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.niche-card:hover .np-emoji { transform: scale(1.15) rotate(-8deg); }
.np-bar { position: relative; height: 10px; width: 70%; border-radius: 6px; background: currentColor; opacity: .75; }
.np-bar.short { width: 40%; opacity: .4; }
.niche-dent { color: #0b4a4a; }
.niche-law { color: #c9a24a; }
.niche-beauty { color: #7a4a45; }
.niche-wood { color: #f1d9b5; }
.niche-farm { color: #3f4a1f; }
.niche-body { position: relative; padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.niche-body h3 { font-size: 1.35rem; }
.niche-body p { color: var(--muted); font-size: .98rem; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); }
.niche-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.niche-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.niche-card:hover .niche-link svg { transform: translateX(6px); }
.niche-cta { background: radial-gradient(circle at 100% 0%, rgba(198,255,61,.16), transparent 55%), linear-gradient(180deg, var(--surface), var(--bg-2)); border-style: dashed; border-color: rgba(198,255,61,.3); justify-content: center; }
.niche-cta .niche-body { justify-content: center; padding: 34px 28px; }
.niche-cta h3 { font-size: 1.6rem; }

/* Passi */
.steps { display: grid; gap: 20px; position: relative; }
.step { padding: 30px 28px; overflow: hidden; }
.step-num {
  display: block; font-size: 3.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 22px;
  background: linear-gradient(180deg, var(--accent), rgba(198,255,61,.15)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--muted); }
.step::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease) .3s;
}
.step.visible::after { transform: scaleX(1); }

/* Prezzi */
.pricing { display: grid; gap: 22px; max-width: 900px; margin-inline: auto; align-items: stretch; }
.price-card { padding: 38px 30px 32px; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-6px); }
.price-card h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.price { display: flex; align-items: flex-start; gap: 6px; margin: 18px 0 4px; font-size: clamp(3.4rem, 10vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .cur { font-size: .45em; margin-top: .25em; color: var(--accent); }
.price { flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.price-launch { display: inline-block; align-self: flex-start; margin-top: 14px; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--accent); border: 1px solid currentColor; }
.price-launch + .price { margin-top: 12px; }
.price .price-old { font-size: .4em; font-weight: 600; letter-spacing: 0; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.price .cur { align-self: flex-start; margin-left: -4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price-note { color: var(--muted); font-size: .92rem; margin-bottom: 26px; }
.price-list { display: grid; gap: 14px; margin-bottom: 32px; flex: 1; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; }
.price-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(198,255,61,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ff3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.price-card.featured {
  border-color: transparent;
  background: linear-gradient(180deg, #19202a, #10141b) padding-box, linear-gradient(160deg, var(--accent), rgba(61,255,194,.6) 40%, rgba(255,255,255,.08) 75%) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 40px 90px -40px rgba(198,255,61,.45);
}
.price-card.featured h3 { color: var(--accent); }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(198,255,61,.7); white-space: nowrap;
}
.pricing-foot {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; margin: 40px auto 0; max-width: 720px;
  padding: 16px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--muted);
}
.pricing-foot svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s, background-color .3s; }
.faq-item.open { border-color: rgba(198,255,61,.35); background: var(--surface-2); }
.faq-item h3 { font-size: inherit; letter-spacing: 0; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left;
  padding: 22px 24px; font-size: 1.1rem; font-weight: 700; line-height: 1.35;
}
.faq-ico { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .3s, border-color .3s; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-ico { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq-item.open .faq-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 24px; color: var(--muted); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { opacity: 1; transform: none; transition-delay: .1s; }

/* Contatti */
.contact-panel {
  position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 9vw, 96px) clamp(22px, 5vw, 64px);
  border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(circle at 50% 120%, rgba(198,255,61,.18), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2));
}
.contact-glow {
  position: absolute; width: 600px; height: 600px; left: 50%; top: -360px; transform: translateX(-50%); border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(198,255,61,.35), transparent 30%, rgba(61,255,194,.3), transparent 60%);
  filter: blur(60px); animation: spin 14s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.contact-panel > * { position: relative; }
.contact-panel .kicker::after { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.contact-panel h2 { font-size: clamp(2.2rem, 6.5vw, 4rem); }
.contact-panel .section-lead { margin-inline: auto; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.contact-meta { margin-top: 26px; color: var(--muted); font-size: .9rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-inner { display: grid; gap: 18px; justify-items: center; text-align: center; color: var(--muted); font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-nav a:hover { color: var(--accent); }
.copy { font-size: .85rem; opacity: .8; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 30px -10px rgba(198,255,61,.6);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s, transform .5s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Animazioni allo scroll ---------- */
.js .reveal {
  opacity: 0; translate: 0 32px;
  transition: opacity .9s var(--ease), translate 1s var(--ease), transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease), background-color .3s;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s, 0s;
}
.js .reveal.visible { opacity: 1; translate: none; }

/* ---------- Layout desktop ---------- */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .niche-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats li { padding: 30px 26px; }
}
@media (min-width: 980px) {
  .hero { padding-top: calc(var(--header-h) + 90px); }
  .hero-inner { grid-template-columns: 1.1fr .9fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .niche-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .feature { padding: 40px 34px; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .container, .container.narrow { width: calc(100% - 32px); }
  .hero-actions .btn { width: 100%; }
  .contact-actions .btn { width: 100%; }
  .float-chip { font-size: .74rem; padding: 8px 11px; }
  .chip-2 { right: 0; }
  .faq-q { padding: 18px; font-size: 1.02rem; }
  .faq-a p { padding: 0 18px 20px; }
  .pricing-foot { flex-direction: column; }
  .logo { font-size: 1.08rem; }
  .hero-visual { padding: 34px 0; }
  .chip-1 { left: 0; }
  .price-card { padding: 34px 22px 26px; }
  .section h2 br, .section-head h2 br { display: none; }
  .section-head h2 .muted { display: block; margin-top: .2em; }
}
@media (max-width: 380px) {
  .chip-3 { display: none; }
  .stats li { padding: 20px 16px; }
  .niche-body, .feature, .step { padding-left: 20px; padding-right: 20px; }
}
/* niente effetti hover "bloccati" dopo il tocco sui telefoni */
@media (hover: none) {
  .card:hover, .step:hover, .niche-card:hover, .price-card:hover { transform: none; }
}
@media (hover: none) {
  .mock-browser { transform: none; }
}

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; translate: none; }
  .mock-browser { transform: none; }
}

/* ---------- Telefono: effetti leggeri per un caricamento fluido ---------- */
@media (max-width: 768px) {
  .blob { filter: none; animation: none; opacity: .35; }
  .site-header::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 12, 16, .95); }
  .float-chip { backdrop-filter: none; background: #161a22; animation: none; box-shadow: 0 10px 24px -14px rgba(0,0,0,.8); }
  .mock-browser { animation: none; box-shadow: 0 18px 40px -24px rgba(0,0,0,.8); }
  .mock-cards span::after { animation: none; display: none; }
  .np-emoji { filter: none; }
  .contact-glow { display: none; }
  .price-card.featured { box-shadow: 0 20px 40px -28px rgba(198,255,61,.5); }
  .btn-primary, .btn-whatsapp { box-shadow: none; }
}
.contact-meta a, .footer-contacts a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-meta a:hover, .footer-contacts a:hover { color: var(--accent); }
.contact-meta a, .footer-contacts a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-meta a:hover, .footer-contacts a:hover { color: var(--accent); }
