/* ============================================================
   RESERVIA — Dark Theme CSS
   Multi-page: index, gestionale, sito-web, reservia-ai,
               marketing, cookie-policy
   Design system: fmagencyai.com dark theme
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   0. CUSTOM PROPERTIES
   ───────────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg: #080808;
  --bg-alt: #111111;

  /* Text */
  --text: #F5F5F5;
  --text-muted: #A1A1AA;
  --text-dim: #52525B;

  /* Purple palette */
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --purple-pale: #C4B5FD;
  --purple-dark: #7C3AED;

  /* Accents */
  --green: #22C55E;
  --whatsapp: #25D366;

  /* Borders & glow */
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(139, 92, 246, 0.25);
  --glow-purple: rgba(139, 92, 246, 0.35);

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container: 1400px;
  --header-h: 72px;
}


/* ─────────────────────────────────────────────────────────────
   1. RESET & BASE
   ───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}


/* ─────────────────────────────────────────────────────────────
   2. LAYOUT & SHARED COMPONENTS
   ───────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5%;
}

/* Section labels */
.section-num {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 600;
  color: var(--purple-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 640px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary {
  background: var(--purple);
  color: #fff;
}
.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--purple);
  font-weight: 700;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}


/* ─────────────────────────────────────────────────────────────
   3. SCROLL PROGRESS
   ───────────────────────────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--green));
  z-index: 999;
  pointer-events: none;
}


/* ─────────────────────────────────────────────────────────────
   4. CUSTOM CURSOR (hover devices only)
   ───────────────────────────────────────────────────────────── */
.cursor-dot,
.cursor-follow {
  display: none;
}

@media (hover: hover) {
  .cursor-dot {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--purple);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
  }
  .cursor-follow {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--purple);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0.5;
  }
}


/* ─────────────────────────────────────────────────────────────
   5. HEADER (glassmorphism dark)
   ───────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 300;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s ease;
}
.header.hidden-up {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  height: 60px;
  width: auto;
}
.logo span {
  color: var(--purple);
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}
.nav-desktop a:hover {
  color: var(--purple);
}
.nav-desktop a.nav-active {
  color: var(--purple-light);
  font-weight: 600;
}
.nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 299;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}
.mobile-menu a:hover {
  color: var(--purple);
}
.mobile-menu a.nav-active {
  color: var(--purple-light);
}

/* Back link (cookie-policy etc.) */
.back-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
}
.back-link:hover {
  color: var(--purple);
}
.back-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}


/* ─────────────────────────────────────────────────────────────
   6. HERO (homepage)
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Aurora blobs */
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.08;
}
.aurora-1 {
  width: 700px;
  height: 700px;
  background: var(--purple);
  top: -20%;
  right: -15%;
}
.aurora-2 {
  width: 400px;
  height: 400px;
  background: #6366F1;
  bottom: 10%;
  left: -10%;
}
.aurora-3 {
  width: 300px;
  height: 300px;
  background: var(--green);
  top: 40%;
  right: 20%;
  opacity: 0.04;
}

/* Legacy blob classes (backward compat with index.html) */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--purple);
  top: -10%;
  right: -10%;
  opacity: 0.08;
}
.blob-2 {
  width: 300px;
  height: 300px;
  background: #6366F1;
  bottom: 10%;
  left: -5%;
  opacity: 0.06;
}

/* Hero content */
.hero-content {
  max-width: 780px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.hero-headline .word {
  display: inline-block;
  overflow: hidden;
}
.hero-headline .char {
  display: inline-block;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Hero pills */
.hero-products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.pill-dot.purple {
  background: var(--purple);
}
.pill-dot.green {
  background: var(--green);
}

/* Hero trust line */
.hero-trust {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-trust::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}
.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}


/* ─────────────────────────────────────────────────────────────
   7. HERO — PRODUCT PAGE VARIANT
   ───────────────────────────────────────────────────────────── */
.hero-product {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
}
.hero-product .container {
  position: relative;
  z-index: 1;
}
.hero-product .hero-content {
  max-width: 780px;
}

/* Breadcrumb */
.breadcrumb {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: var(--purple-light);
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: var(--purple);
}


/* ─────────────────────────────────────────────────────────────
   8. PROBLEMA
   ───────────────────────────────────────────────────────────── */
.problema {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pain-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.08);
  border-color: var(--border-accent);
}

.pain-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.pain-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.pain-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ─────────────────────────────────────────────────────────────
   9. SOLUZIONI
   ───────────────────────────────────────────────────────────── */
.soluzioni {
  padding: 5rem 0;
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.sol-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.08);
  border-color: var(--border-accent);
}
.sol-card-featured {
  border-color: var(--border-accent);
  box-shadow: 0 0 30px var(--glow-purple);
}

.sol-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.sol-badge.purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple);
}
.sol-badge.green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
}
/* Legacy accent badges */
.sol-badge.cyan {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple-light);
}
.sol-badge.orange {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple-light);
}

.sol-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.sol-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.sol-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.sol-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
}

.sol-card.cyan-card .sol-list li::before,
.sol-card.orange-card .sol-list li::before {
  background: rgba(139, 92, 246, 0.1);
}

.sol-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}


/* ─────────────────────────────────────────────────────────────
   10. FUNZIONALITA
   ───────────────────────────────────────────────────────────── */
.funzionalita {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.feat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.5rem 0;
}
.feat-block:not(:last-child) {
  border-bottom: 1px solid var(--border);
}
.feat-block.reverse .feat-visual {
  order: -1;
}
.feat-block-full {
  grid-template-columns: 1fr;
}
.feat-block-full .feat-text {
  max-width: 780px;
}

.feat-visual {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feat-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.feat-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin-bottom: 0.75rem;
}
.feat-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.feat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.feat-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(139, 92, 246, 0.08);
  color: var(--purple-light);
}


/* ─────────────────────────────────────────────────────────────
   11. SITO WEB
   ───────────────────────────────────────────────────────────── */
.sitoweb {
  padding: 5rem 0;
}

/* Flow steps */
.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: 1rem;
  border: 1px solid var(--border);
  min-width: 160px;
  flex: 1;
  max-width: 220px;
  text-align: center;
}
.flow-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--purple-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-step h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}
.flow-arrow {
  font-size: 1.5rem;
  color: var(--purple-pale);
}

/* Web features grid */
.web-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.web-feat {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.web-feat h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.web-feat p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Highlight card */
.web-feat-highlight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: center;
}
.web-feat-img {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.web-feat-img img {
  width: 100%;
  height: auto;
  display: block;
}


/* ─────────────────────────────────────────────────────────────
   12. RESERVIA AI (NEW product page)
   ───────────────────────────────────────────────────────────── */
.reservia-ai {
  padding: 5rem 0;
  background: var(--bg-alt);
}

/* Demo CTA block */
.ai-demo-cta {
  background: var(--bg);
  border: 1px solid var(--border-accent);
  border-radius: 1.25rem;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ai-demo-cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--purple);
  filter: blur(160px);
  opacity: 0.06;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ai-demo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.ai-demo-icon {
  width: 64px;
  height: 64px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-demo-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* AI features grid */
.ai-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.ai-feat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.ai-feat:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}
.ai-feat-icon {
  width: 48px;
  height: 48px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.ai-feat-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ai-feat h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.ai-feat p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* AI pricing */
.ai-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 2.5rem auto;
}
.ai-plan {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.ai-plan:hover {
  border-color: var(--border-accent);
}
.ai-plan-featured {
  border-color: var(--border-accent);
  box-shadow: 0 0 30px var(--glow-purple);
}
.ai-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.ai-plan h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.ai-plan-price .price-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
}
.ai-plan-price span {
  color: var(--text-muted);
  font-size: 0.9rem;
}


/* ─────────────────────────────────────────────────────────────
   13. MARKETING
   ───────────────────────────────────────────────────────────── */
.marketing {
  padding: 5rem 0;
}

.mkt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.mkt-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.mkt-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.08);
}

.mkt-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.mkt-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--purple-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mkt-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.mkt-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.mkt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.mkt-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(139, 92, 246, 0.08);
  color: var(--purple-light);
}


/* ─────────────────────────────────────────────────────────────
   14. COME FUNZIONA
   ───────────────────────────────────────────────────────────── */
.come-funziona {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.step {
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
}
.step-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(139, 92, 246, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ─────────────────────────────────────────────────────────────
   15. NUMERI / TESTIMONIAL
   ───────────────────────────────────────────────────────────── */
.numeri {
  padding: 5rem 0;
  background: var(--purple);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.numeri::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -200px;
  right: -200px;
}

.counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  text-align: center;
}
.counter-item .counter-val {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
}
.counter-item .counter-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  font-style: italic;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}
.testimonial cite {
  font-size: 0.9rem;
  opacity: 0.7;
  font-style: normal;
}


/* ─────────────────────────────────────────────────────────────
   16. PRICING
   ───────────────────────────────────────────────────────────── */
.pricing {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.pricing-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--purple);
  top: -100px;
  left: -100px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.04;
  pointer-events: none;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.price-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.08);
}
.price-card-featured {
  border-color: var(--border-accent);
  box-shadow: 0 0 40px var(--glow-purple);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.price-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.price-amount {
  margin-bottom: 1.5rem;
}
.price-from {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
}
.price-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--text);
  line-height: 1;
}
.price-val span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.15rem;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--text-muted);
}
.price-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}


/* ─────────────────────────────────────────────────────────────
   17. FAQ
   ───────────────────────────────────────────────────────────── */
.faq {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color 0.3s;
}
.faq-btn:hover {
  color: var(--purple);
}
.faq-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s;
}

.faq-answer {
  padding: 0 1.5rem;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-bottom: 1.25rem;
}


/* ─────────────────────────────────────────────────────────────
   18. CONTATTI
   ───────────────────────────────────────────────────────────── */
.contatti {
  padding: 5rem 0;
}

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-alt);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.wa-big {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.wa-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
}
.wa-big svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  flex-shrink: 0;
}

.phone-demo-big {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--green);
  border-radius: 1rem;
  font-weight: 600;
  transition: transform 0.3s, background 0.3s;
}
.phone-demo-big:hover {
  transform: translateY(-2px);
  background: rgba(34, 197, 94, 0.15);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.5;
}


/* ─────────────────────────────────────────────────────────────
   19. INTEGRATIONS (product pages)
   ───────────────────────────────────────────────────────────── */
.integrations {
  padding: 5rem 0;
}

.integ-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.integ-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.35s ease;
}
.integ-card:hover {
  border-color: var(--border-accent);
}
.integ-card h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.integ-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.integ-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ─────────────────────────────────────────────────────────────
   20. FOOTER
   ───────────────────────────────────────────────────────────── */
.footer {
  background: #050505;
  color: #fff;
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.footer-brand .logo img {
  height: 70px;
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--purple-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  transition: color 0.3s;
}
.footer-bottom-links a:hover {
  color: var(--purple-light);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}
.footer-socials a:hover {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.15);
}
.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.85);
}

/* Footer — simple variant (cookie-policy etc.) */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-inner p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}
.footer-inner a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-inner a:hover {
  color: var(--purple-light);
}


/* ─────────────────────────────────────────────────────────────
   21. COOKIE CONSENT BANNER
   ───────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
  background: var(--bg-alt);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4),
              0 0 0 1px var(--border);
  border-radius: 1.25rem;
  transform: translateY(calc(100% + 3rem));
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: var(--font-body);
  max-width: 400px;
  width: calc(100% - 2rem);
}
.cookie-banner[data-visible="true"] {
  transform: translateY(0);
}

.cookie-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cookie-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}
.cookie-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.cookie-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.cookie-text a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}
.cookie-btn {
  padding: 0.7rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  flex: 1;
  text-align: center;
}
.cookie-btn-manage {
  background: #1F1F1F;
  color: var(--text);
}
.cookie-btn-manage:hover {
  background: #2A2A2A;
}
.cookie-btn-accept {
  background: var(--purple);
  color: #fff;
}
.cookie-btn-accept:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}
.cookie-btn-reject {
  background: #1F1F1F;
  color: var(--text);
}
.cookie-btn-reject:hover {
  background: #2A2A2A;
}


/* ─────────────────────────────────────────────────────────────
   22. COOKIE PREFERENCES MODAL
   ───────────────────────────────────────────────────────────── */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal-overlay.active {
  display: flex;
}

.cookie-modal {
  background: var(--bg-alt);
  border-radius: 1.25rem;
  max-width: 540px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}
.cookie-modal-header img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.cookie-modal-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
  flex: 1;
}

.cookie-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1F1F1F;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.cookie-modal-close:hover {
  background: #2A2A2A;
}
.cookie-modal-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  stroke-width: 2;
}

.cookie-modal-body {
  padding: 1.25rem 1.5rem;
}

.cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cookie-category:last-child {
  border-bottom: none;
}

.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-cat-info h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}
.cookie-cat-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle-track {
  position: absolute;
  inset: 0;
  background: #3F3F46;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.3s;
}
.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}
.cookie-toggle input:checked + .cookie-toggle-track {
  background: var(--purple);
}
.cookie-toggle input:checked + .cookie-toggle-track::after {
  transform: translateX(22px);
}
.cookie-toggle input:disabled + .cookie-toggle-track {
  background: var(--purple);
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-toggle input:disabled + .cookie-toggle-track::after {
  transform: translateX(22px);
}

.cookie-modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.cookie-modal-footer .cookie-btn {
  flex: 1;
  text-align: center;
}


/* ─────────────────────────────────────────────────────────────
   23. PAGE CONTENT (cookie-policy, legal pages)
   ───────────────────────────────────────────────────────────── */
.page {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 5% 4rem;
}
.page h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.page .last-update {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.page h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}
.page h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text);
}
.page p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.page ul,
.page ol {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem 1.5rem;
  line-height: 1.7;
}
.page li {
  margin-bottom: 0.4rem;
}
.page strong {
  color: var(--text);
  font-weight: 600;
}
.page a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page a:hover {
  color: var(--purple-dark);
}

/* Cookie table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.cookie-table th {
  background: rgba(139, 92, 246, 0.08);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cookie-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.cookie-table tr:hover td {
  background: rgba(139, 92, 246, 0.03);
}
.cookie-table code {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple-light);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: monospace;
}

/* Info box */
.info-box {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-left: 4px solid var(--purple);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.info-box p {
  margin-bottom: 0;
  color: var(--text);
}

/* Consent button in page */
.btn-manage {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn-manage:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
  color: #fff;
}


/* ─────────────────────────────────────────────────────────────
   24. ANIMATIONS
   ───────────────────────────────────────────────────────────── */
@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px var(--glow-purple);
  }
  50% {
    box-shadow: 0 0 40px var(--glow-purple),
                0 0 60px rgba(139, 92, 246, 0.15);
  }
}
.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* GSAP hook — starts hidden */
.hero-fade {
  opacity: 0;
}


/* ─────────────────────────────────────────────────────────────
   25. UTILITIES
   ───────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ─────────────────────────────────────────────────────────────
   26. REDUCED MOTION
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-fade {
    opacity: 1;
  }
}


/* ─────────────────────────────────────────────────────────────
   27. RESPONSIVE — TABLET (≤1024px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}


/* ─────────────────────────────────────────────────────────────
   28. RESPONSIVE — MOBILE (≤768px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Layout */
  .feat-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feat-block.reverse .feat-visual {
    order: 0;
  }

  /* Flow steps */
  .flow-arrow {
    display: none;
  }
  .flow-steps {
    flex-direction: column;
  }
  .flow-step {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  /* Contacts */
  .contatti-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Cookie banner */
  .cookie-banner {
    bottom: 1rem;
    right: 1rem;
    max-width: calc(100% - 2rem);
  }

  /* Blobs — reduce size and contain */
  .blob-1,
  .aurora-1 {
    width: 300px;
    height: 300px;
    right: -5%;
  }
  .blob-2,
  .aurora-2 {
    display: none;
  }
  .aurora-3 {
    display: none;
  }
  .pricing-blob {
    width: 200px;
    height: 200px;
    left: -50px;
  }

  /* Web feat highlight */
  .web-feat-highlight {
    grid-template-columns: 1fr;
  }
  .web-feat-img {
    max-width: 100%;
  }

  /* Cookie table scroll */
  .cookie-table {
    display: block;
    overflow-x: auto;
  }
}
