/* ==========================================
   RESET & VARIABILI GLOBALI
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

body {
  background-color: var(--bg-light);
  color: var(--dark);
  line-height: 1.6;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.navbar-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary);
}

.btn-primary-small {
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-primary-small:hover {
  background-color: var(--primary-hover);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  padding: 80px 24px 60px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background-color: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary-large {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
}

.btn-primary-large:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -5px rgba(37, 99, 235, 0.5);
}

.sub-hero-note {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================
   BENEFICI (FEATURES)
   ========================================== */
.features-section {
  padding: 60px 24px;
}

.features-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  background: #eff6ff;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ==========================================
   PRIMA VS DOPO (COMPARISON)
   ========================================== */
.comparison-section {
  padding: 60px 24px;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.comparison-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.comparison-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.comparison-header {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
}

.comparison-card.before .comparison-header {
  background-color: #fef2f2;
  color: #dc2626;
  border-bottom: 1px solid #fee2e2;
}

.comparison-card.after .comparison-header {
  background-color: #f0fdf4;
  color: #16a34a;
  border-bottom: 1px solid #dcfce7;
}

.comparison-body {
  padding: 24px;
  flex-grow: 1;
  font-size: 14px;
  color: #334155;
}

.annuncio-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.scheda-demo {
  margin-top: 14px;
  padding: 10px;
  background-color: #f8fafc;
  border-radius: 6px;
  border-left: 3px solid var(--primary);
  font-size: 12px;
  color: #475569;
}

.comparison-footer {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  background-color: #f8fafc;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  padding: 80px 24px;
  text-align: center;
}

.cta-container {
  max-width: 650px;
  margin: 0 auto;
  background: var(--dark);
  color: var(--white);
  padding: 48px 32px;
  border-radius: 24px;
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.3);
}

.cta-container h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-container p {
  color: #94a3b8;
  font-size: 16px;
  margin-bottom: 28px;
}

/* ==========================================
   FOOTER
   ========================================== */
.landing-footer {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background-color: var(--white);
}

/* ==========================================
   RESPONSIVE DESIGN (MOBILE)
   ========================================== */
@media (max-width: 640px) {
  .hero-section h1 {
    font-size: 32px;
  }
  
  .hero-section p {
    font-size: 16px;
  }
  
  .btn-primary-large {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
  }
  
  .cta-container {
    padding: 32px 20px;
  }
}