:root {
  --primary: #ff6600;
  --dark: #222;
  --light: #fafafa;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--dark);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
header, section, footer { width: 100%; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  color: white;
  background: 
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
    url('https://source.unsplash.com/1600x900/?technology,ai') center/cover no-repeat;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  font-weight: bold;
  border-radius: 0.5rem;
  transition: background 0.2s;
}
.btn:hover { background: #e65500; }

/* SERVIZI */
.services {
  background: var(--light);
  padding: 4rem 0;
}
.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-content {
  padding: 1.5rem;
}
.card-content h3 {
  margin-top: 0;
  color: var(--primary);
}

/* CASI D'USO */
.use-cases {
  padding: 4rem 0;
}
.use-cases .item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.use-cases .item img {
  width: 100px;
  border-radius: 0.75rem;
  object-fit: cover;
}

/* METODO */
.method {
  background: var(--light);
  padding: 4rem 0;
}
.method .steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.method .step {
  flex: 1 1 200px;
  text-align: center;
}
.method .step h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* ABOUT */
.about {
  padding: 4rem 0;
  text-align: center;
}
.about img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* CONTATTI */
.contact {
  background: var(--light);
  padding: 4rem 0;
}
.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.contact input, .contact textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-family: var(--font-sans);
}
.contact button {
  align-self: start;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--primary);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}
.or {
  text-align: center;
  margin-top: 1.5rem;
}

/* FOOTER */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}
footer a { color: #ddd; }
