:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #495057;
  --border: #e5e7eb;
  --accent: #0d6efd;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg) !important;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
}

h1, h2, h3, h4, h5, h6, p, span, li {
  color: var(--fg);
}

.text-muted {
  color: var(--muted) !important;
}

.hero-section {
  padding: 96px 0 80px;
}

.mw-700 { max-width: 700px; }

.hero-title {
  font-size: 3.4rem;
  letter-spacing: 0.04em;
}

.hero-logo {
  width: auto;
  max-height: 120px;
}

.intro-text {
  max-width: 780px;
  font-size: 1.15rem;
  color: var(--muted);
}

#heroCarousel {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.hero-carousel-inner {
  border-radius: 32px;
  overflow: hidden;
}

.hero-carousel-image {
  width: 100%;
  max-height: 520px;
  height: auto;
  object-fit: contain;
}

/* Allargo la zona cliccabile delle frecce */
.carousel-control-prev,
.carousel-control-next {
  width: 6%;
  opacity: 0.8;
}

/* Rendo le icone ben visibili su qualsiasi immagine */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-size: 1.75rem 1.75rem;
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.feature-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
}
.feature-title {
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-title {
  font-weight: 700;
  font-size: 2.6rem;
}

.demo-block {

  margin: 60px auto;
  max-width: 1600px;
  border-radius: 32px;
}

.demo-divider {
  width: 90%;
  height: 4px;
  background: var(--muted);
  border-radius: 2px;
  opacity: 0.2;
  margin: 60px auto;
}

.video-wrapper {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  max-width: 1400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.demo-title {
  font-size: 2.4rem;
}

.demo-desc {
  max-width: 820px;
  font-size: 1.2rem;
  color: var(--muted);
}
