/* LowPass landing — website/
   Part A: landing page statica. Palette: gradiente blue #3A9EEC -> magenta #E33AB7
   (fonte di verità: assets/gradient-bg.png). Telegram ufficiale: #26A5E4. */

:root {
  --blue: #3a9eec;
  --magenta: #e33ab7;
  --telegram: #26a5e4;
  --telegram-dark: #1f8ec7;

  --bg: #0b0f1a;
  --surface: #10141f;
  --text: #f5f7fb;
  --muted: #c7cfe0;

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);

  --radius: 18px;
  --font-title: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", "Poppins", system-ui, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --grad: linear-gradient(135deg, var(--blue), var(--magenta));
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-size: 1.85rem; }
p { margin: 0 0 1em; }

/* ---------- ANIMAZIONI (solo transform/opacity, GPU-friendly) ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Entrata iniziale above-the-fold (hero) al caricamento */
.hero-logo, .hero-title, .hero-subtitle, .hero-actions, .hero .cta-hint {
  animation: fade-up 0.8s var(--ease) both;
}
.hero-title { animation-delay: 0.06s; }
.hero-subtitle { animation-delay: 0.16s; }
.hero-actions { animation-delay: 0.24s; }
.hero .cta-hint { animation-delay: 0.3s; }

/* ---------- SCROLL REVEAL (fade-in + slide-up) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.5s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: #000; padding: 0.6em 1em; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 26, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0.6rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { border-radius: 9px; }
.brand span { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; }
.nav-links a { position: relative; text-decoration: none; color: var(--muted); font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.lang-switch { display: inline-flex; gap: 0.25rem; }
.lang-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.3em 0.6em;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.lang-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.25); }
.lang-btn.active { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- CTA / BOTTONI ---------- */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-title); font-weight: 700;
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), filter 0.3s var(--ease);
}
.cta img, .cta svg { display: block; flex-shrink: 0; }
.cta-big { font-size: 1.15rem; padding: 0.85em 1.9em; }
.cta-small { font-size: 0.9rem; padding: 0.55em 1.3em; }
.cta-telegram {
  color: #fff;
  background: var(--telegram);
  box-shadow: 0 10px 26px rgba(38, 165, 228, 0.4);
}
.cta-telegram:hover {
  transform: translateY(-4px);
  background: var(--telegram-dark);
  filter: brightness(1.08);
  box-shadow: 0 16px 38px rgba(38, 165, 228, 0.55);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 5rem 1.25rem 6rem;
  background: var(--grad);
}
.hero-inner { position: relative; max-width: 680px; margin: 0 auto; }

/* ---------- DECORAZIONE RADAR HERO (rotte di volo) ---------- */
.hero-radar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.5;
}
.hero-radar svg {
  width: min(680px, 110%);
  height: min(680px, 110%);
}
.radar-sweep {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: radar-spin 12s linear infinite;
}
@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-logo {
  width: 112px; height: 112px; border-radius: 26px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.hero-title { font-size: 3.4rem; font-weight: 800; margin: 0.25em 0 0.3em; }
.hero-brand { display: block; }
.hero-tagline {
  display: block;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 0.2em;
  color: #fff;
  opacity: 0.92;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.hero-subtitle { font-size: 1.15rem; color: #fff; max-width: 560px; margin: 0 auto 1.8em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.cta-hint {
  margin: 1em 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.cta-card .cta-hint {
  color: var(--muted);
  text-shadow: none;
}

/* ---------- SEZIONI ---------- */
.section { padding: 4rem 1.25rem; max-width: 1080px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-lead { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.6s ease-out;
}
.card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(58, 158, 236, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(58, 158, 236, 0.25), 0 8px 30px rgba(58, 158, 236, 0.2);
}
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 46px; height: 46px; margin-bottom: 0.9em; color: var(--blue); }
.card-icon svg { width: 100%; height: 100%; }

/* ---------- LIQUID GLASS ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
/* Fallback senza backdrop-filter */
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .glass { background: rgba(255, 255, 255, 0.12); }
}

/* ---------- CONTATORI ---------- */
.section-counters {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.stats { max-width: 960px; margin: 0 auto; }
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.6s ease-out;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(58, 158, 236, 0.4); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 6px 24px rgba(58, 158, 236, 0.18); }
.stat dd { order: 1; margin: 0; }
.stat dt { order: 2; color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.stat-value {
  font-family: var(--font-title); font-weight: 800; font-size: 2.3rem; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- SCREENSHOT / MOCKUP TELEFONO ---------- */
.shots { max-width: 900px; margin: 0 auto; align-items: start; }
.shot { margin: 0; text-align: center; }
.shot figcaption { margin-top: 0.8em; color: var(--muted); font-weight: 500; }
.phone {
  width: min(230px, 66vw);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #000;
  border-radius: 34px;
  padding: 10px;
  border: 2px solid #2a3348;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}
.shot:hover .phone { transform: translateY(-4px); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; }

/* ---------- CTA CENTRALE ---------- */
.section-cta { text-align: center; }
.cta-card { border-radius: 24px; padding: 2.5rem 1.5rem; max-width: 720px; margin: 0 auto; }
.cta-card p { color: var(--muted); max-width: 480px; margin: 0 auto 1.5em; }
.cta-card .cta { max-width: 100%; white-space: normal; text-align: center; }

/* ---------- DIETRO LE QUINTE ---------- */
.section-about { position: relative; }
.about-card {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 26px;
  padding: 2.6rem 2.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04)) padding-box,
    linear-gradient(135deg, var(--blue), var(--magenta)) border-box;
  border: 1.5px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 22px 55px rgba(227, 58, 183, 0.28),
    0 10px 28px rgba(58, 158, 236, 0.22);
}
.about-card h2 {
  font-size: 1.9rem;
  margin: 0 0 0.35em;
  color: #ffffff;
}
.about-card .about-lead {
  color: var(--muted);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0 0 1.2em;
}
.about-card p { color: var(--muted); margin: 0 0 1.1em; }
.about-card p:last-of-type { margin-bottom: 0; }
@supports not ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  .about-card {
    background:
      linear-gradient(180deg, #1a2130, #141a28) padding-box,
      linear-gradient(135deg, var(--blue), var(--magenta)) border-box;
  }
}
@media (max-width: 640px) {
  .about-card { padding: 1.8rem 1.3rem; border-radius: 20px; }
  .about-card h2 { font-size: 1.5rem; }
  .about-card .about-lead { font-size: 0.98rem; }
}

/* ---------- DEFINIZIONE / COME FUNZIONA (GEO) ---------- */
.definition {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}
.definition p {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.7;
}
.how-it-works {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
}
.how-it-works h3 {
  font-size: 1.2rem;
  margin: 0 0 1em;
}
.how-it-works ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}
.how-it-works li {
  color: var(--muted);
  padding-left: 1.4rem;
  position: relative;
}
.how-it-works li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}
.how-it-works strong {
  color: var(--text);
}
.how-it-works code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 5px;
  color: var(--blue);
}
@media (max-width: 640px) {
  .how-it-works { padding: 1.4rem 1.2rem; }
}

/* ---------- FAQ / ACCORDION ---------- */
.accordion { max-width: 720px; margin: 0 auto; display: grid; gap: 0.75rem; }
.acc-item {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.6s ease-out;
}
.acc-item:hover { transform: translateY(-2px); border-color: rgba(58, 158, 236, 0.35); }
.acc-btn {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 1em;
  background: none; border: 0; color: var(--text);
  font-family: var(--font-title); font-weight: 600; font-size: 1rem; text-align: left;
  padding: 1em 1.2em; cursor: pointer;
  transition: transform 0.15s ease;
}
.acc-btn::after {
  content: "+";
  font-size: 1.5rem; line-height: 1; flex-shrink: 0;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform 0.25s ease;
}
.acc-item.open .acc-btn::after { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > p { overflow: hidden; margin: 0; padding: 0 1.2em; color: var(--muted); }
.acc-item.open .acc-panel > p { padding-bottom: 1.2em; }

/* ---------- RECENSIONI ---------- */
.reviews-grid {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.review-form {
  border-radius: 24px; padding: 1.8rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  align-self: start;
}
.review-label {
  font-family: var(--font-title); font-weight: 600; font-size: 0.95rem;
}
.review-input {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; padding: 0.75em 0.9em; width: 100%;
  transition: border-color 0.2s ease;
}
.review-input:focus { outline: none; border-color: var(--blue); }
.review-textarea { resize: vertical; min-height: 100px; }
.review-submit {
  margin-top: 0.6em;
  font-family: var(--font-title); font-weight: 700; font-size: 1.05rem;
  color: #fff; background: var(--grad);
  border: 0; border-radius: 999px; padding: 0.85em 1.9em; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
  box-shadow: 0 10px 26px rgba(227, 58, 183, 0.35);
}
.review-submit:hover { transform: translateY(-3px); filter: brightness(1.06); box-shadow: 0 16px 36px rgba(227, 58, 183, 0.5); }
.review-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.review-status { min-height: 1.2em; margin: 0; color: var(--muted); font-size: 0.9rem; }
.review-status.ok { color: #7ee2a8; }
.review-status.err { color: #ff8a8a; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Turnstile invisibile: container fuori dal flusso visivo */
.turnstile-widget {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.stars { display: inline-flex; gap: 0.25rem; margin-bottom: 0.6em; }
.star {
  background: none; border: 0; cursor: pointer; padding: 0; font-size: 2rem; line-height: 1;
  color: #3a3f4d; transition: color 0.15s ease, transform 0.15s ease;
}
.star:hover { transform: scale(1.15); }
.star.on { color: #ffc93c; }

.review-list { display: grid; gap: 0.9rem; align-content: start; }
.review-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; padding: 1.2rem 1.35rem;
}
.review-card-head { display: flex; align-items: center; gap: 0.75em; margin-bottom: 0.45em; }
.review-card-name { font-family: var(--font-title); font-weight: 700; }
.review-card-stars { color: #ffc93c; letter-spacing: 0.1em; }
.review-card-date { color: var(--muted); font-size: 0.8rem; margin-left: auto; }
.review-card p { color: var(--muted); margin: 0; }
.reviews-empty { color: var(--muted); text-align: center; padding: 2rem 0; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(16, 20, 31, 0.6); }
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 2.5rem 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center;
}
.copyright { color: var(--muted); font-size: 0.85rem; margin: 0.3rem 0 0; }

.footer-social {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1.1rem;
}
.social-link {
  display: inline-flex; align-items: center; gap: 0.45em;
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.social-link:hover { color: var(--text); transform: translateY(-2px); }
.social-link:active { transform: scale(0.95); }
.social-link svg { display: block; }
.producthunt-badge { display: inline-flex; }
.producthunt-badge img { display: block; max-width: 100%; height: auto; }

/* ---------- MOBILE (<= 640px) ---------- */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { flex-wrap: wrap; row-gap: 0.5rem; padding: 0.5rem 1rem; }
  .nav-inner .cta { flex: 1 1 100%; }
  .cta-small { font-size: 0.8rem; padding: 0.45em 0.9em; }

  .hero { padding: 3rem 1.25rem 3.5rem; }
  .hero-logo { width: 92px; height: 92px; border-radius: 22px; }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.02rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .cta { width: 100%; }

  .section { padding: 2.75rem 1.25rem; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stat { padding: 1.1rem 0.75rem; }
  .stat-value { font-size: 1.8rem; }

  .phone { width: min(200px, 58vw); }
  .cta-card { padding: 2rem 1.25rem; }
  .cta-card .cta { font-size: 1rem; padding: 0.8em 1.3em; }
}

/* ---------- DESKTOP ---------- */
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 4rem; }
  .nav-inner { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 5rem 2rem; }
}

/* ---------- MOVIMENTO RIDOTTO ---------- */
@media (prefers-reduced-motion: reduce) {
  .cta, .card, .stat, .acc-item, .phone, .reveal { transition: none; }
  .hero-logo, .hero-title, .hero-subtitle, .hero-actions, .hero .cta-hint { animation: none; }
  .radar-sweep { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- PAGINE LEGALI (privacy / cookie) ---------- */
.page-hero {
  background: var(--grad);
  text-align: center;
  padding: 3rem 1.25rem 2.5rem;
}
.page-hero-inner { max-width: 680px; margin: 0 auto; }
.page-hero h1 { font-size: 2.4rem; font-weight: 800; margin: 0 0 0.3em; }
.page-hero p { color: #fff; margin: 0; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }

.legal { max-width: 760px; margin: 0 auto; }
.legal-block {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  margin-bottom: 1.25rem;
}
.legal-block h2 { font-size: 1.3rem; margin: 0 0 0.6em; }
.legal-block h3 { font-size: 1.05rem; margin: 1.2em 0 0.5em; }
.legal-block p, .legal-block li { color: var(--muted); margin: 0 0 0.8em; }
.legal-block ul { margin: 0 0 0.8em; padding-left: 1.25rem; }
.legal-block a { color: var(--blue); }
.legal-block a:hover { color: var(--magenta); }
.legal-meta { color: var(--muted); font-size: 0.85rem; text-align: center; margin: 0.5em 0 0; }

/* ---------- FOOTER: LINK LEGALI ---------- */
.footer-legal {
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
  justify-content: center; font-size: 0.85rem;
}
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--text); }
.footer-legal span { color: var(--muted); }

/* ---------- CONSENSO PRIVACY NEL FORM RECENSIONI ---------- */
.review-consent {
  display: flex; align-items: flex-start; gap: 0.55em;
  font-size: 0.9rem; color: var(--muted); margin-top: 0.4em; line-height: 1.45;
}
.review-consent input { margin-top: 0.2em; flex-shrink: 0; accent-color: var(--magenta); }
.review-consent a { color: var(--blue); }
.review-consent a:hover { color: var(--magenta); }

@media (max-width: 640px) {
  .page-hero h1 { font-size: 1.9rem; }
  .legal-block { padding: 1.3rem 1.2rem; }
}

/* ---------- BANNER COOKIE ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 100;
  max-width: 480px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  display: flex; flex-direction: column; gap: 0.8rem;
}
.cookie-banner-text { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.cookie-banner-text a { color: var(--blue); }
.cookie-banner-text a:hover { color: var(--magenta); }
.cookie-banner-actions { display: flex; gap: 0.6rem; justify-content: flex-end; }
.cookie-btn {
  border: 0; border-radius: 999px; padding: 0.5em 1.2em; cursor: pointer;
  font-family: var(--font-title); font-weight: 600; font-size: 0.9rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cookie-btn:hover { transform: translateY(-2px); }
.cookie-btn-accept { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(227, 58, 183, 0.35); }
.cookie-btn-refuse { background: rgba(255, 255, 255, 0.08); color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.15); }

@media (min-width: 720px) {
  .cookie-banner { left: 1.5rem; right: auto; margin: 0; }
}

/* ---------- NASCONDI BADGE NETLIFY ---------- */
#netlify-badge,
[data-netlify-badge] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------- PRESSIONE BOTTONI (:active) ---------- */
.cta:active {
  transform: scale(0.98);
  box-shadow: 0 6px 16px rgba(38, 165, 228, 0.28);
}
.lang-btn:active { transform: scale(0.96); }
.review-submit:active {
  transform: scale(0.98);
  box-shadow: 0 6px 16px rgba(227, 58, 183, 0.28);
}
.cookie-btn:active { transform: scale(0.97); }
.star:active { transform: scale(0.85); }
.acc-btn:active { transform: scale(0.98); }
