/* Stile comune 2026 del sito (pagine Pocket, blog, contatti).
   Si carica DOPO lo stile interno di ogni pagina e ne rifinisce i componenti, senza toccare testi e struttura.
   Stesso linguaggio delle pagine Agenda AI (css/agenda-ai-2026.css): Nunito, angoli morbidi, ombre leggere,
   hero sfumati con trama a puntini. Accento: blu per Pocket, verde-acqua come secondario (Agenda AI resta verde). */

:root {
  --primary-color: #1d4ed8;
  --secondary-color: #0f9f8a;
  --site-ink: #0f1d2e;
  --site-muted: #5b6878;
  --site-line: #e3e8ef;
  --site-bg: #f6f8fb;
  --site-radius: 20px;
  --site-shadow: 0 10px 30px rgba(15, 29, 46, .07);
}

body {
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--site-ink);
  background-color: var(--site-bg);
}

h1, h2, .display-4, .display-5 { font-weight: 900; letter-spacing: -.015em; }
h3, h4, h5, .h3, .h4, .h5 { font-weight: 800; }
.text-muted { color: var(--site-muted) !important; }
.text-primary { color: var(--primary-color) !important; }

/* Menu: vedi css/header-2026.css */

/* Hero: sfumatura blu → verde-acqua con riflessi e puntini */
.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(125, 211, 252, .30), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(20, 184, 166, .35), transparent 60%),
    linear-gradient(135deg, #0b2a6b 0%, #1d4ed8 55%, #0f766e 100%) !important;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent);
  mask-image: linear-gradient(to bottom, #000 35%, transparent);
}
.hero-section > * { position: relative; z-index: 1; }

/* Pulsanti */
.btn { border-radius: 14px; font-weight: 800; letter-spacing: .005em; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #2563eb) !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(29, 78, 216, .25);
}
.btn-success {
  background: linear-gradient(135deg, var(--secondary-color), #14b8a6) !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(15, 159, 138, .25);
}
.btn-light { box-shadow: 0 10px 24px rgba(15, 29, 46, .15); }
.btn-outline-primary { border-width: 2px; }
.btn-lg { padding: .85rem 1.5rem; }

/* Schede e funzioni */
.card, .feature-card, .testimonial-card, .pricing-card {
  border-radius: var(--site-radius) !important;
  border: 1px solid var(--site-line) !important;
  box-shadow: var(--site-shadow);
  background-color: #fff;
}
.feature-card, .card { transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover, .card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 29, 46, .11); }
.feature-icon, .icon-container {
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
  color: #fff !important;
}

/* Etichette */
.badge { border-radius: 999px; font-weight: 800; }

/* Domande frequenti */
.accordion-item { border: 1px solid var(--site-line); border-radius: 16px !important; overflow: hidden; margin-bottom: 12px; }
.accordion-button { font-weight: 800; }
.accordion-button:not(.collapsed) { background: #eef3ff; color: #0b2a6b; box-shadow: none; }

/* Tabelle di confronto */
.table { border-radius: 16px; overflow: hidden; }
.table thead th { background: #eef3ff; font-weight: 800; border-bottom: 0; }

/* Piè di pagina */
footer { background: #fff; border-top: 1px solid var(--site-line) !important; }
footer a { transition: color .2s ease; }
footer a:hover { color: var(--primary-color) !important; }

/* Articoli del blog */
article p, article li { font-size: 1.06rem; line-height: 1.75; }
article blockquote { border-left: 4px solid var(--secondary-color); background: #fff; border-radius: 0 16px 16px 0; padding: 14px 18px; }

@media (prefers-reduced-motion: reduce) {
  .btn, .feature-card, .card { transition: none; }
  .btn:hover, .feature-card:hover, .card:hover { transform: none; }
}

/* Home: la scheda di Agenda AI resta verde, come le sue pagine */
.app-card--agenda .app-header { background: radial-gradient(400px 200px at 85% 0%, rgba(198, 243, 107, .25), transparent 60%), linear-gradient(135deg, #1b5e20, #0f766e) !important; }
.app-card--agenda .app-logo i { color: #2e7d32 !important; }
.app-card--agenda .feature-icon, .app-card--agenda .icon-container { background: linear-gradient(135deg, #2e7d32, #14b8a6) !important; }
