/* ──────────────────────────────────────────
   PAGE: CREATOR (creator.php)
   Hero, badges, stats, services, howto,
   vs-table, valori, faq, hiring/form
   ────────────────────────────────────────── */

/* Hero */
#hero {
  min-height: clamp(520px, 75vh, 820px);
  background-image: url("../img/star-texture.svg"),
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85));
  background-size: auto, cover;
  background-repeat: repeat, no-repeat;
  padding: 5rem 0 4.5rem;
}

#hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero-pitch {
  max-width: 620px;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.93rem;
  border-left: 2px solid var(--accent-color);
  padding: 0.3rem 0 0.3rem 1rem;
  line-height: 1.6;
}

@media (min-width: 992px) {
  .hero-pitch {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  #hero {
    min-height: auto;
    padding: 3rem 0 3.5rem;
  }
  .hero-pitch {
    font-size: 0.88rem;
    padding-left: 0.85rem;
  }
}

/* Badges band (3 USP sotto hero) */
.badges-band {
  background-color: rgba(225, 163, 75, 0.04);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  width: 100%;
}

.badge-pill i {
  color: var(--accent-color);
  font-size: 1.35rem;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .badge-pill {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.5rem 0.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    line-height: 1.25;
    text-align: center;
  }
  .badge-pill i {
    font-size: 1.2rem;
  }
}

/* Stats band */
.stats-band {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
}

.stat-item {
  padding: 1.5rem 0.5rem;
  position: relative;
}

@media (min-width: 992px) {
  .stats-band .col-6.col-lg-3:not(:last-child) .stat-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.07);
  }
}

.stat-value {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 0.6rem;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .stat-value {
    font-size: 1.9rem;
  }
}

/* Service cards */
.service-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-card);
  background-color: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform var(--transition-fast), border-color var(--transition-mid), background-color var(--transition-mid), box-shadow var(--transition-mid);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-soft);
  background-color: rgba(225, 163, 75, 0.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Howto / steps timeline */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 780px;
  position: relative;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4.25rem;
  bottom: -1.5rem;
  left: 1.375rem;
  transform: translateX(-50%);
  width: 2px;
  background-color: rgba(225, 163, 75, 0.4);
}

.step-number {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(225, 163, 75, 0.15);
}

.step-body {
  flex: 1;
  padding-top: 0.4rem;
}

.step-body h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.step-body p {
  font-size: 0.93rem;
  line-height: 1.65;
}

@media (max-width: 575.98px) {
  .step-item {
    gap: 1rem;
    padding: 1.25rem 0;
  }
  .step-number {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.8rem;
  }
  /* Riallineo la linea verticale al centro del nuovo pallino mobile.
     Desktop: numero 2.75rem, padding-top 1.5rem -> center 1.375rem, top 4.25rem.
     Mobile:  numero 2.25rem, padding-top 1.25rem -> center 1.125rem, top 3.5rem. */
  .step-item:not(:last-child)::after {
    top: 3.5rem;
    bottom: -1.25rem;
    left: 1.125rem;
  }
}

/* Testimonials (sezione attualmente disattivata, stili pronti per riattivazione) */
.testimonial-card {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: var(--radius-card);
  background-color: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color var(--transition-mid), box-shadow var(--transition-mid);
}

.testimonial-card:hover {
  border-color: var(--border-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.testimonial-quote-icon {
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-size: 2.2rem;
  color: var(--accent-color);
  opacity: 0.35;
  line-height: 1;
}

.testimonial-quote p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  font-style: italic;
}

.testimonial-author {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Application form */
.application-form .form-control {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.application-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.application-form .form-control:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.06);
}

.application-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(225, 163, 75, 0.12);
  color: #fff;
}

.application-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.application-form .form-check-input {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--border-soft);
}

.application-form .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.application-form .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(225, 163, 75, 0.15);
  border-color: var(--accent-color);
}

#hiring .application-form {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 2rem;
}

@media (max-width: 575.98px) {
  #hiring .application-form {
    padding: 1.5rem 1.25rem;
  }
}
