/* ============================================================
   AI EVOLUTION — main.css
   Palette: #111827 (bg) | #2865e3 (blu) | #e8610a (arancione) | #b5b5b5 (grigio)
   ============================================================ */

/* ── FONT LOCALE (Inter variable — evita Google Fonts CDN) ── */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg:         #0d1117;
  --bg-soft:    #111827;
  --bg-card:    #161d2b;
  --blu:        #2865e3;
  --blu-hover:  #1f50c7;
  --arancione:  #e8610a;
  --grigio:     #b5b5b5;
  --grigio-dark:#1f2937;
  --white:      #ffffff;
  --text:       #e5e7eb;
  --text-muted: #9ca3af;
  --border:     rgba(255,255,255,0.08);
  --font:       'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:     8px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grigio);
  margin-bottom: 1rem;
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; color: var(--white); }

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  white-space: pre-line;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }

/* ── NAVBAR ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo-icon {
  height: 32px;
  width: 32px;
  display: block;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo-text em {
  font-style: normal;
  font-weight: 300;
  color: var(--grigio);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--grigio);
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all var(--transition);
}
.lang-switch:hover { color: var(--white); border-color: var(--grigio); }

.btn-nav {
  background: var(--blu);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav:hover { background: var(--blu-hover); transform: translateY(-1px); }

/* Hamburger mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(40,101,227,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40,101,227,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
}

.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Griglia e glow sotto le particelle */
.hero-grid, .hero-glow { z-index: 0; }
.hero-content, .hero-scroll { z-index: 2; }

/* Hero home: testo a sinistra, sfera a destra */
@media (min-width: 769px) {
  .hero:not(.hero-vertical) .container {
    max-width: 1200px;
    padding-right: 42%;
  }
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40,101,227,0.12) 0%, transparent 70%);
  top: 10%;
  right: -10%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blu);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  white-space: pre-line;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title .accent { color: var(--arancione); }
.text-blu { color: var(--blu); font-weight: 700; }
.text-accent { color: var(--arancione); font-weight: 700; }

.hero-title em {
  font-style: normal;
  color: var(--arancione);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.btn-primary {
  background: var(--blu);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  background: var(--blu-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40,101,227,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--grigio), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── STATS STRIP ── */
.stats-strip {
  padding: 3rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-number span { color: var(--arancione); }

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stats-tags {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── SOLUZIONI ── */
.soluzioni { background: var(--bg); }

.soluzioni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.sol-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.sol-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--arancione);
  transform: scaleY(0);
  transition: transform var(--transition);
  border-radius: 0 2px 2px 0;
}
.sol-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,97,10,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.sol-card:hover::before { transform: scaleY(1); }

.sol-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.sol-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.sol-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.sol-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--arancione);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.sol-card:hover .sol-link { gap: 0.7rem; }

/* ── DIFFERENZIATORI ── */
.differenziatori {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.differenziatori::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,97,10,0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

.diff-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.diff-item:hover { border-color: rgba(40,101,227,0.3); }

.diff-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--arancione);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: right;
  opacity: 0.5;
}

.diff-body { border-left: 2px solid var(--blu); padding-left: 1.25rem; }

.diff-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.diff-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── COME FUNZIONA ── */
.come-funziona { background: var(--bg); }

.steps {
  display: flex;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(16.666% + 2rem);
  right: calc(16.666% + 2rem);
  height: 1px;
  background: linear-gradient(90deg, var(--blu), rgba(40,101,227,0.2));
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.step-num {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--blu);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--arancione);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── FAQ ── */
.faq {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40,101,227,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .faq-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .faq-cols { grid-template-columns: 1fr; }
}

.faq-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.faq-group-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--arancione);
  flex-shrink: 0;
}

.faq-group-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--arancione);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  gap: 1rem;
  text-align: left;
  transition: background var(--transition);
}
.faq-q:hover { background: rgba(255,255,255,0.02); }

.faq-q span:first-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
  transition: color var(--transition);
}
.faq-q:hover span:first-child,
.faq-q[aria-expanded="true"] span:first-child { color: var(--white); }

.faq-icon {
  font-size: 1rem;
  color: var(--grigio);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
  font-weight: 300;
  line-height: 1.55;
  margin-top: 0.05rem;
}
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--arancione);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a.open { max-height: 400px; }

.faq-a p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.85;
  padding: 0 1.25rem 1.1rem;
  border-left: 2px solid rgba(40,101,227,0.25);
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

/* ── CTA FINALE ── */
.cta-finale {
  background: var(--blu);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-finale::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0,0,0,0.2), transparent);
  pointer-events: none;
}

.cta-finale-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.2;
}

.btn-white {
  background: var(--white);
  color: var(--blu);
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  display: inline-block;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.cta-finale-sub {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

/* ── FOOTER ── */
.footer {
  background: var(--grigio-dark);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
.footer-brand-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── ANIMAZIONI ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links, .nav-right .btn-nav { display: none; }
  .nav-hamburger { display: flex; }

  .hero-title { font-size: 2.4rem; }

  .stats-grid { gap: 2rem; }

  .diff-grid { grid-template-columns: 1fr; }

  .steps {
    flex-direction: column;
    gap: 2rem;
  }
  .steps::before { display: none; }

  /* Disabilita animazioni su mobile */
  @media (prefers-reduced-motion: reduce), (max-width: 768px) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .hero-eyebrow, .hero-title, .hero-subtitle, .hero-ctas, .hero-scroll {
      animation: none;
      opacity: 1;
      transform: none;
    }
  }
}

/* ══════════════════════════════════════════════════
   LEAD GENERATION PAGE — styles aggiuntivi
   ══════════════════════════════════════════════════ */

/* ── HERO VERTICAL (più compatto) ── */
.hero-vertical {
  min-height: 80vh;
}

/* ── SECTION utility ── */
.section {
  padding: 5rem 0;
}
.section-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── PAIN GRID ── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--arancione);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--transition), transform var(--transition);
}
.pain-card:hover {
  border-color: var(--arancione);
  transform: translateY(-3px);
}
.pain-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--arancione);
  line-height: 1;
  opacity: 0.35;
  letter-spacing: -0.05em;
}
.pain-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}
.pain-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
@media (max-width: 768px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}
.product-card {
  background: #161d2b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.product-card.gold {
  background: #12181f;
  border-color: rgba(232,97,10,0.3);
}
.product-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  color: #fff;
  margin-bottom: 1rem;
}
.gold-badge {
  background: transparent;
  border: 1px solid #e8610a;
  color: #e8610a;
}
.product-dropcap {
  font-size: 6rem;
  font-weight: 900;
  line-height: 0.85;
  opacity: 0.12;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  pointer-events: none;
  user-select: none;
}
.product-body {
  position: relative;
  z-index: 1;
}
.product-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #e5e7eb;
  margin: 0 0 0.25rem;
}
.product-subtitle {
  font-size: 0.95rem;
  color: #b5b5b5;
  margin-bottom: 1rem;
}
.product-desc {
  font-size: 0.9rem;
  color: #b5b5b5;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-features li {
  font-size: 0.875rem;
  color: #e5e7eb;
  padding-left: 1.5rem;
  position: relative;
}
.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2865e3;
  font-weight: 700;
}
.gold-features li::before {
  color: #e8610a;
}
.product-pricing {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.gold-pricing {
  border-color: rgba(232,97,10,0.2);
  background: rgba(232,97,10,0.04);
}
.pricing-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #b5b5b5;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: 1.3rem;
  color: #e5e7eb;
}
.pricing-price strong {
  font-size: 1.6rem;
  color: #2865e3;
}
.pricing-row {
  font-size: 0.8rem;
  color: #b5b5b5;
  line-height: 1.6;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(232,97,10,0.15);
  color: #e8610a;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-right: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sla-row {
  color: #e8610a;
  font-style: italic;
}
.launch-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e8610a;
  border: 1px dashed rgba(232,97,10,0.5);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* ── BTN ORANGE ── */
.btn-orange {
  display: inline-block;
  background: #e8610a;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-orange:hover {
  background: #cc5309;
  transform: translateY(-1px);
}

/* ── FLOW STEPS ── */
.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.flow-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0 0.75rem;
}
.flow-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}
.flow-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2865e3;
  margin-bottom: 0.4rem;
}
.flow-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}
.flow-desc {
  font-size: 0.78rem;
  color: #b5b5b5;
  line-height: 1.5;
}
.flow-connector {
  flex: 0 0 auto;
  width: 2rem;
  height: 2px;
  background: #2865e3;
  margin-top: 2.5rem;
  opacity: 0.4;
  align-self: flex-start;
}

/* ── TARGET GRID ── */
.target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.target-card {
  background: #161d2b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem;
}
.target-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.target-sector {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}
.target-desc {
  font-size: 0.8rem;
  color: #b5b5b5;
  margin-bottom: 0.75rem;
}
.target-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2865e3;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.target-who {
  font-size: 0.8rem;
  color: #b5b5b5;
  line-height: 1.5;
}
.target-note {
  text-align: center;
  font-size: 0.9rem;
  color: #b5b5b5;
  margin-top: 2rem;
}

/* ── ROI GRID ── */
.roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.roi-card {
  background: #161d2b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.roi-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: #e5e7eb;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.roi-label {
  font-size: 0.9rem;
  color: #b5b5b5;
  line-height: 1.5;
}
.roi-note {
  text-align: center;
  font-size: 0.78rem;
  color: #b5b5b5;
  margin-top: 1.5rem;
  font-style: italic;
}

/* ── FAQ VERTICAL ── */
.faq-vertical {
  max-width: 800px;
  margin: 2rem auto 0;
}

/* ── CTA FINALE BLU ── */
.cta-finale-blue {
  background: #2865e3 !important;
}
.cta-finale-blue .cta-finale-title {
  color: #fff;
}
.cta-finale-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 1024px) {
  .target-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { gap: 1rem; }
  .flow-connector { display: none; }
}

@media (max-width: 768px) {
  .pain-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr 1fr; }
  .flow-steps { flex-direction: column; gap: 1.5rem; }
  .flow-step { text-align: left; padding: 0; }
  .flow-icon { display: inline-block; margin-right: 0.5rem; }
}

@media (max-width: 480px) {
  .target-grid { grid-template-columns: 1fr; }
}

/* ── TABELLA CONFRONTO PRODOTTI ── */
.compare-table {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.compare-table th,
.compare-table td {
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.5;
}
.compare-feature-col { width: 26%; }
.compare-stream-col  { width: 37%; }
.compare-gold-col    { width: 37%; }

/* Header */
.compare-table thead th {
  background: #0d1117;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
}
.compare-table thead th:first-child {
  border-radius: 16px 0 0 0;
}
.compare-table thead th:last-child {
  border-radius: 0 16px 0 0;
}
.compare-stream-col {
  border-left: 1px solid var(--border);
}
.compare-gold-col {
  border-left: 2px solid rgba(232,97,10,0.4);
  background: rgba(232,97,10,0.05) !important;
}
.compare-product-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.compare-dropcap {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.9;
  letter-spacing: -0.04em;
}
.compare-product-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.compare-product-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.compare-badge-top {
  display: inline-block;
  margin-top: 0.875rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--arancione);
  border: 1px solid rgba(232,97,10,0.5);
  border-radius: 20px;
  padding: 3px 10px;
  background: rgba(232,97,10,0.08);
}

/* Righe sezione */
.compare-section-row td {
  background: rgba(255,255,255,0.02);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4b5563;
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* Colonna feature */
.compare-table td:first-child {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Colonna stream */
.compare-table td:nth-child(2) {
  border-left: 1px solid var(--border);
  color: var(--text);
}

/* Colonna gold */
.compare-table td:nth-child(3) {
  border-left: 2px solid rgba(232,97,10,0.15);
  background: rgba(232,97,10,0.02);
  color: var(--text);
}

/* Alternanza righe */
.compare-table tbody tr:not(.compare-section-row):not(.compare-cta-row):nth-child(even) td {
  background: rgba(255,255,255,0.015);
}
.compare-table tbody tr:not(.compare-section-row):not(.compare-cta-row):nth-child(even) td:nth-child(3) {
  background: rgba(232,97,10,0.03);
}

/* Hover */
.compare-table tbody tr:not(.compare-section-row):not(.compare-cta-row):hover td {
  background: rgba(255,255,255,0.03);
}
.compare-table tbody tr:not(.compare-section-row):not(.compare-cta-row):hover td:nth-child(3) {
  background: rgba(232,97,10,0.05);
}

/* Checkmark */
.compare-check.blu  { color: #2865e3; font-weight: 800; margin-right: 5px; }
.compare-check.gold { color: #e8610a; font-weight: 800; margin-right: 5px; }
.compare-dash { color: #374151; font-size: 1.1rem; }

/* Riga CTA */
.compare-cta-row td {
  padding: 1.5rem;
  background: #0d1117;
  border-bottom: none;
}
.compare-cta-row td:first-child { border-radius: 0 0 0 16px; }
.compare-cta-row td:last-child  { border-radius: 0 0 16px 0; }
.compare-table tr:last-child td { border-bottom: none; }

@media (max-width: 900px) {
  .compare-feature-col { display: none; }
  .compare-stream-col,
  .compare-gold-col { width: 50%; }
}
@media (max-width: 600px) {
  .compare-table th,
  .compare-table td { padding: 0.75rem 1rem; font-size: 0.8rem; }
}

/* ── SEZIONE EDITORIALE AI VS MANUALE ── */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}
.editorial-body p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}
.editorial-body p:last-child { margin-bottom: 0; }
.editorial-body strong { color: var(--text); }

.editorial-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.estat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--arancione);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}
.estat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--arancione);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}
.estat-num span { font-size: 1.8rem; }
.estat-label {
  font-size: 0.825rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.estat-source {
  font-size: 0.7rem;
  color: #4b5563;
  font-style: italic;
}

/* ── GLOSSARIO ── */
.glossary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.glossary-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: border-color var(--transition);
}
.glossary-item:hover { border-color: rgba(40,101,227,0.3); }
.glossary-term {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--blu);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.glossary-def {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .glossary-grid  { grid-template-columns: 1fr; }
}

.hero-vertical .hero-content {
  flex: 1;
  min-width: 0;
}
.hero-illus {
  flex: 0 0 480px;
  max-width: 480px;
  opacity: 0;
  transform: translateX(30px);
  animation: illus-in 0.8s ease 0.4s forwards;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(40,101,227,0.15);
}
.hero-illus img, .hero-illus svg {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes illus-in {
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 900px) {
  .hero-vertical .container { flex-direction: column; gap: 2rem; }
  .hero-illus { flex: none; max-width: 100%; width: 100%; }
}

/* ── ILLUSTRAZIONE VERTICALE (dopo sezione IL CONTESTO) ── */
.section-illus {
  margin-top: 3rem;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(40,101,227,0.15);
  background: #0d1117;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.section-illus.revealed {
  opacity: 1;
  transform: translateY(0);
}
.section-illus img {
  width: 100%;
  height: auto;
  display: block;
}
.section-illus.visible {
  opacity: 1;
  transform: translateY(0);
}
