:root {
  --primary: #6366f1;
  --dark: #0f172a;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: var(--dark);
  color: white;
  overflow-x: hidden;
}

/* Effetto Parallasse Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)),
    url("https://images.unsplash.com"); /* Immagine libera da copyright */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.content {
  max-width: 800px;
  padding: 20px;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

/* Bottone Animato */
.cta-button {
  padding: 15px 40px;
  font-size: 1.1rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

/* Sezione Caratteristiche */
.features {
  padding: 100px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.card:hover {
  background: rgba(255, 255, 255, 0.1);
}
