/* Impostazioni di base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #644aed; /* Viola principale */
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* Wrapper generale per gestire altezza completa */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

/* HEADER */
.site-header {
  padding: 8px 0 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 58px;
  height: auto;
  border-radius: 12px;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.brand-tagline {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* MAIN */
.site-main {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero {
  width: 100%;
  text-align: center;
}

/* Titoli e testo */
.hero h1 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 24px;
}

/* Pulsanti CTA */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-cta:active {
  transform: scale(0.97);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-primary {
  background: #ffffff;
  color: #644aed;
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

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

.btn-whatsapp {
  background: #25d366;
  color: #0b3c1f;
}

.btn-whatsapp:hover {
  opacity: 0.95;
}

/* Box informazioni */
.info-box {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  padding: 14px 16px;
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
  backdrop-filter: blur(6px);
}

.info-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-text {
  font-size: 0.85rem;
  margin-bottom: 10px;
  opacity: 0.95;
}

.info-highlight {
  font-weight: 600;
}

/* FOOTER */
.site-footer {
  padding: 16px 0 4px;
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* RESPONSIVE - schermi più larghi (tablet / desktop) */
@media (min-width: 768px) {
  .page-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .btn-cta {
    font-size: 1.05rem;
  }
}
