/* ============================================
   ASTRORACOLO - Landing Pages (Elegant Design System)
   Stili condivisi per le pagine di presentazione
   dei servizi: tema natale, compatibilita,
   lettura mano. Palette coerente con il sito:
   crema + verde scuro + oro.
   ============================================ */

.landing-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* ---------- Hero ---------- */

.landing-hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 67, 0.25) 0%, transparent 55%),
    linear-gradient(135deg, var(--dark-teal) 0%, var(--dark-teal-light) 55%, #1f4747 100%);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
}

.landing-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
}

.landing-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.88);
}

/* ---------- CTA buttons (in hero) ---------- */

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: #1a1a1a;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.3);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(184, 134, 11, 0.4);
  color: #1a1a1a;
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(245, 240, 232, 0.45);
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-cta-primary:focus-visible,
.btn-cta-secondary:focus-visible,
.btn-cta-dark:focus-visible {
  outline: 3px solid var(--accent-gold-light);
  outline-offset: 2px;
}

/* ---------- Feature cards ---------- */

.landing-page .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--bg-secondary);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent-gold);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
  border-top-color: var(--accent-gold);
}

.feature-icon-lg {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--dark-teal);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---------- Content sections ---------- */

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dark-teal);
  margin-bottom: 1.5rem;
}

.content-section h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.content-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.content-section li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
}

.content-section li::before {
  content: "✦";
  color: var(--accent-gold);
  position: absolute;
  left: 0;
}

/* ---------- Highlight box ---------- */

.highlight-box-lg {
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.09) 0%, rgba(212, 168, 67, 0.04) 100%);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border-medium);
}

.highlight-box-lg h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--dark-teal);
  margin-bottom: 1rem;
}

.highlight-box-lg p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ---------- Final CTA section ---------- */

.cta-section {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(212, 168, 67, 0.2) 0%, transparent 55%),
    linear-gradient(135deg, var(--dark-teal) 0%, var(--bg-dark-secondary) 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-light);
  margin-top: 3rem;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.15rem;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 2rem;
}

.btn-cta-dark {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: #1a1a1a;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-cta-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  color: #1a1a1a;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .landing-page {
    padding: 1.5rem 1rem 3rem;
  }

  .landing-hero {
    padding: 2.5rem 1.25rem;
  }

  .landing-hero h1 {
    font-size: 2rem;
  }

  .landing-hero p {
    font-size: 1.05rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    justify-content: center;
  }

  .landing-page .features-grid {
    grid-template-columns: 1fr;
  }

  .highlight-box-lg {
    padding: 1.5rem;
  }
}
