/* ============================================================
   bookX — Landing Page
   Design system coerente con il prodotto (brand teal/cyan).
   ============================================================ */

:root {
  /* Brand */
  --brand-700: #0a5f6b;
  --brand-600: #0e7d86;
  --brand-500: #12a0ab;
  --brand-400: #1cc0cf;
  --brand-300: #63dce6;
  --accent: #7c3aed;
  --amber: #f59e0b;

  /* Neutri */
  --ink: #0b1620;
  --ink-soft: #1b2b36;
  --text: #16323a;
  --muted: #5a7079;
  --line: #e3ecee;
  --bg: #f6fafb;
  --card: #ffffff;
  --white: #ffffff;

  /* Effetti */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 32, .06), 0 4px 12px rgba(11, 22, 32, .05);
  --shadow: 0 10px 30px -12px rgba(11, 22, 32, .18);
  --shadow-brand: 0 20px 50px -20px rgba(18, 160, 171, .55);
  --container: 1160px;

  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
section { position: relative; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-600);
  background: rgba(18, 160, 171, .1);
  padding: 7px 14px; border-radius: 999px;
}
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.gradient-text {
  background: linear-gradient(100deg, var(--brand-400), var(--brand-600) 45%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand-500), var(--brand-600));
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -18px rgba(18,160,171,.7); }
.btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-light { background: var(--white); color: var(--brand-700); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-3px); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-600); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s, padding .3s;
  padding: 16px 0;
}
.nav.scrolled {
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 1px 0 rgba(11,22,32,.06); padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
/* Wordmark bookX: variante chiara (testo scuro) su nav bianca in scroll,
   variante scura (testo bianco) sull'hero scuro in cima alla pagina. */
.brand-logo { height: 34px; width: auto; display: block; }
.brand-logo-light { display: none; }
.nav.scrolled .brand-logo-dark { display: none; }
.nav.scrolled .brand-logo-light { display: block; }

.nav-menu { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-links a { font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.85); transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a { color: var(--muted); }
.nav.scrolled .nav-links a:hover { color: var(--brand-600); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 18px; font-size: .92rem; }

/* Pulsante "Accedi alla community": chiaro sull'hero scuro, scuro quando scrolli */
.btn-nav-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.26); }
.btn-nav-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.nav.scrolled .btn-nav-ghost { color: var(--brand-600); background: transparent; border-color: var(--line); }
.nav.scrolled .btn-nav-ghost:hover { border-color: var(--brand-500); background: rgba(18,160,171,.06); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; flex: none; z-index: 2; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .2s, background .3s; }
.nav.scrolled .nav-toggle span { background: var(--ink); }
.nav-menu.open ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu.open ~ .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-menu.open ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 170px 0 110px; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 75% -10%, #123c46 0%, transparent 60%),
    radial-gradient(900px 500px at 10% 20%, #0d3742 0%, transparent 55%),
    linear-gradient(160deg, #0a1c24 0%, #0b2730 55%, #0a1c24 100%);
  color: #eaf5f6;
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; will-change: transform; }
.blob-1 { width: 460px; height: 460px; top: -120px; right: -60px; background: radial-gradient(circle, var(--brand-400), transparent 65%); }
.blob-2 { width: 520px; height: 520px; bottom: -180px; left: -120px; background: radial-gradient(circle, var(--accent), transparent 62%); opacity: .35; }
.blob-3 { width: 320px; height: 320px; top: 40%; left: 55%; background: radial-gradient(circle, var(--brand-300), transparent 65%); opacity: .3; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
.hero p.lead { color: rgba(234,245,246,.82); font-size: 1.2rem; margin: 22px 0 34px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; align-items: center; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .stars { color: var(--amber); letter-spacing: 2px; }
.hero-trust small { color: rgba(234,245,246,.7); }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 600; color: #d7eef0;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  padding: 7px 13px; border-radius: 999px;
}
.hero-badge svg { width: 15px; height: 15px; color: var(--brand-300); }

/* Hero mockup */
.mockup-wrap { position: relative; perspective: 1200px; }
.mockup {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  padding: 20px; transform-style: preserve-3d;
  transition: transform .2s ease-out;
  border: 1px solid rgba(255,255,255,.5);
}
.mockup-top { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.mockup-top i { width: 11px; height: 11px; border-radius: 50%; background: #d9e2e4; display: inline-block; }
.mockup-top i:nth-child(1){ background:#ff5f57 } .mockup-top i:nth-child(2){ background:#febc2e } .mockup-top i:nth-child(3){ background:#28c840 }
.mockup-title { margin-left: auto; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--muted); }
.cal { display: grid; grid-template-columns: 54px 1fr; gap: 10px; }
.cal-hours { display: flex; flex-direction: column; gap: 22px; padding-top: 26px; font-size: .72rem; color: var(--muted); }
.cal-body { border-left: 1px solid var(--line); }
.cal-day { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--ink); padding: 0 0 12px 12px; }
.cal-track { position: relative; height: 260px; padding-left: 12px; }
.appt {
  position: absolute; left: 12px; right: 8px; border-radius: 12px; padding: 9px 12px;
  color: #fff; font-size: .78rem; font-weight: 600; box-shadow: var(--shadow-sm);
  animation: apptIn .6s cubic-bezier(.2,.8,.2,1) both;
}
.appt small { display: block; font-weight: 500; opacity: .85; font-size: .68rem; }
.appt.a { top: 4px; height: 60px; background: linear-gradient(120deg, var(--brand-500), var(--brand-600)); animation-delay: .2s; }
.appt.b { top: 74px; height: 76px; background: linear-gradient(120deg, #22a3d6, #2a6fb0); animation-delay: .38s; }
.appt.c { top: 162px; height: 54px; background: linear-gradient(120deg, var(--accent), #6d28d9); animation-delay: .56s; }
@keyframes apptIn { from { opacity: 0; transform: translateX(14px) scale(.96);} to{ opacity:1; transform:none;} }
.mockup-float {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 12px 15px; display: flex; align-items: center; gap: 11px; font-size: .82rem; font-weight: 600; color: var(--ink);
}
.mockup-float svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; color: #fff; }
.float-1 { top: 8%; left: -34px; animation: floaty 5s ease-in-out infinite; }
.float-1 svg { background: linear-gradient(120deg, var(--brand-500), var(--brand-600)); }
.float-2 { bottom: 8%; right: -26px; animation: floaty 6s ease-in-out infinite .8s; }
.float-2 svg { background: linear-gradient(120deg, var(--accent), #6d28d9); }
.float-2 small { display:block; font-weight:500; color: var(--muted); font-size:.7rem; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ---------- Trust bar ---------- */
.trust { padding: 42px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust p { text-align: center; color: var(--muted); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; color: var(--ink-soft);
  font-size: 1.02rem; opacity: .72; transition: opacity .2s, transform .2s;
}
.trust-chip:hover { opacity: 1; transform: translateY(-2px); }
.trust-chip svg { width: 22px; height: 22px; color: var(--brand-500); }

/* ---------- Generic section spacing ---------- */
.pad { padding: 100px 0; }

/* ---------- Problem ---------- */
.problem { background: var(--bg); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.pain:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pain-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fdecec; color: #e5484d; margin-bottom: 16px; }
.pain-ico svg { width: 24px; height: 24px; }
.pain h3 { font-size: 1.12rem; margin-bottom: 8px; }
.pain p { color: var(--muted); font-size: .96rem; }

/* ---------- Solution / features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18,160,171,.12), transparent 70%); opacity: 0; transition: opacity .3s;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(18,160,171,.4); }
.feature:hover::after { opacity: 1; }
.feature-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.feature-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: .97rem; }
.g1 { background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); }
.g2 { background: linear-gradient(135deg, #22a3d6, #2a6fb0); }
.g3 { background: linear-gradient(135deg, var(--accent), #6d28d9); }
.g4 { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.g5 { background: linear-gradient(135deg, #10b981, #0d9488); }
.g6 { background: linear-gradient(135deg, #ec4899, #be185d); }

/* ---------- Steps ---------- */
.steps { background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step-num {
  counter-increment: step; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); box-shadow: var(--shadow-brand);
}
.step-num::before { content: counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Numbers ---------- */
.numbers {
  padding: 76px 0; color: #fff;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(124,58,237,.35), transparent 60%),
    linear-gradient(120deg, var(--brand-600), var(--brand-700));
}
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.num h3 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; }
.num p { color: rgba(255,255,255,.82); font-weight: 600; margin-top: 6px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s, box-shadow .25s;
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi .stars { color: var(--amber); letter-spacing: 2px; font-size: 1rem; }
.testi blockquote { font-size: 1.02rem; color: var(--text); }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; }
.testi-author b { font-family: var(--font-head); }
.testi-author small { display: block; color: var(--muted); }

/* ---------- Contact / CTA ---------- */
.contact { background: var(--bg); }
.contact-card {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0;
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.contact-info {
  padding: 48px; color: #eaf5f6; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0b2730, #0a1c24);
}
.contact-info h2 { color: #fff; font-size: 2rem; }
.contact-info p { color: rgba(234,245,246,.82); margin: 16px 0 28px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 13px; list-style: none; font-weight: 600; color: #dcf0f2; }
.contact-list svg { width: 20px; height: 20px; color: var(--brand-300); flex: none; }
.contact-info .blob { opacity: .4; }
.contact-form { padding: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .96rem; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfdfd;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(18,160,171,.14);
}
.field textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-success {
  display: none; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px;
  background: rgba(16,185,129,.12); color: #0d9488; border-radius: var(--radius-sm); font-weight: 600;
}
.form-success.show { display: flex; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(234,245,246,.7); padding: 56px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-name { color: #fff; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(234,245,246,.65); font-size: .92rem; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--brand-300); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; }

/* ---------- Scroll reveal + animazioni ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.16,.7,.2,1), transform .8s cubic-bezier(.16,.7,.2,1); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }
/* Le varianti direzionali valgono solo nello stato iniziale (non ancora
   visibile): una volta rivelato l'elemento torna a transform:none, altrimenti
   resterebbe spostato per sempre (hero decentrata su mobile). */
.reveal.left:not(.visible)  { transform: translateX(-34px); }
.reveal.right:not(.visible) { transform: translateX(34px); }
.reveal.scale:not(.visible) { transform: scale(.92); }
.reveal.d1 { transition-delay: .09s; } .reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; } .reveal.d4 { transition-delay: .36s; } .reveal.d5 { transition-delay: .45s; }

/* Shimmer continuo sul testo a gradiente */
.gradient-text { background-size: 220% 100%; animation: shimmer 7s ease-in-out infinite; }
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Micro-tilt 3D sulle card interattive (impostato via JS) */
.tiltable { transform: perspective(800px) rotateX(var(--rx,0)) rotateY(var(--ry,0)) translateZ(0); transition: transform .18s ease-out; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-cta .btn-nav-ghost { display: none; }   /* alleggerisce l'header prima del collasso */
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta, .hero-badges, .hero-trust { justify-content: center; }
  .mockup-wrap { max-width: 440px; margin-inline: auto; width: 100%; }
  .contact-card { grid-template-columns: 1fr; }
  .problem-grid, .features-grid, .testi-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
/* Header mobile: menu a scomparsa */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: calc(100% + 8px); left: 14px; right: 14px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: #fff; border-radius: var(--radius); padding: 16px;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }
  .nav .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav .nav-links a { color: var(--ink); padding: 12px 12px; border-radius: 10px; }
  .nav .nav-links a:hover { background: var(--bg); }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 8px; }
  .nav-cta .btn { width: 100%; padding: 13px; font-size: 1rem; }
  .nav-cta .btn-nav-ghost { display: flex; color: var(--brand-600); background: transparent; border-color: var(--line); }
}
@media (max-width: 640px) {
  .hero { padding: 128px 0 72px; }
  .pad { padding: 66px 0; }
  .problem-grid, .features-grid, .testi-grid, .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 28px; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 40px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .mockup-float { transform: scale(.9); }
  .float-1 { left: -8px; } .float-2 { right: -6px; }
  .section-head { margin-bottom: 40px; }
  .brand-name { font-size: 1.14rem; }
}
@media (max-width: 380px) {
  .container { padding-inline: 18px; }
  .hero h1 { font-size: 2.1rem; }
  .mockup-float { display: none; }   /* niente elementi che sbordano su schermi piccolissimi */
  .numbers-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .tiltable { transform: none !important; }
}
