/* style.css - Stile Apple unificato per Aghenda */

/* ===== VARIABILI ===== */
:root {
  --primary: #D9B885;
  --primary-light: #e6ccaa;
  --primary-dark: #b3925e;
  --primary-transparent: rgba(217, 184, 133, 0.1);
  --text-dark: #1d1f27;
  --text-muted: #5e6873;
  --bg-light: #f8fafd;
  --border-light: #e9edf2;
  --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  --card-hover-shadow: 0 12px 28px rgba(185, 146, 94, 0.15);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVBAR ===== */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(217, 184, 133, 0.2) !important;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary) !important;
  transition: color 0.2s;
}

.navbar-brand:hover {
  color: var(--primary-dark) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.2s;
  border-radius: 30px;
}

.nav-link:hover {
  color: var(--primary) !important;
  background-color: var(--primary-transparent);
}

.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background-color: var(--primary) !important;
  border: none !important;
  font-weight: 600;
  transition: all 0.2s;
  color: white !important;
}

.btn-primary:hover {
  background-color: var(--primary-dark) !important;
  transform: scale(1.02);
  box-shadow: var(--card-hover-shadow);
}

.btn-cta {
  background: white;
  color: var(--primary) !important;
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}

.btn-cta:hover {
  background: #f8f0e5;
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(185, 146, 94, 0.25);
  color: var(--primary-dark) !important;
}

/* ===== HERO SECTION ===== */
.hero {
  display: flex;
  align-items: center;
  padding: 60px 40px;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.92) 20%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.2) 100%), 
    url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center 30%;
  border-radius: 40px;
  margin: 30px 0 20px;
  min-height: 500px;
  box-shadow: 0 20px 30px -10px rgba(185, 146, 94, 0.2);
}

.hero-content {
  flex: 1 1 400px;
  background-color: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: 40px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(217, 184, 133, 0.15);
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #000;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-dark);
  max-width: 500px;
  font-weight: 500;
}

.hero-badge {
  background: var(--primary);
  color: white;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 40px;
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.5);
}

/* ===== BENEFIT CARDS ===== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 50px 0 30px;
}

.benefit-card {
  background: white;
  padding: 32px 28px;
  border-radius: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(217, 184, 133, 0.1);
  transition: all 0.25s;
}

.benefit-card:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.benefit-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #000;
}

.benefit-card p {
  color: var(--text-muted);
}

.badge-pro {
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.small-asterisk {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: -10px;
}

/* ===== PROFESSIONISTI CARDS ===== */
.professionisti-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

.prof-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  flex: 1 1 240px;
  border: 1px solid rgba(217, 184, 133, 0.2);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.prof-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow);
}

.prof-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #000;
}

.prof-cat {
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.stars {
  color: #f8b84a;
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-top: auto;
}

.stars span {
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 8px;
}

/* ===== CTA BLOCK ===== */
.cta-block {
  background: var(--primary);
  color: white;
  border-radius: 48px;
  padding: 70px 50px;
  text-align: center;
  margin: 60px 0 30px;
}

.cta-block h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-block p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
  color: white;
}

.small-note {
  margin-top: 20px;
  font-size: 0.95rem;
  opacity: 0.85;
  color: white;
}

/* ===== PIANI TARIFFARI (esistenti) ===== */
.piani-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.piano-card {
  background: white;
  border-radius: 32px;
  padding: 36px 28px;
  border: 1px solid rgba(217, 184, 133, 0.2);
  box-shadow: var(--card-shadow);
  transition: all 0.25s;
}

.piano-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
}

.piano-name {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.piano-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 24px;
}

.piano-price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.piano-badge {
  background: var(--primary);
  color: white;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 15px;
}

.piano-features {
  list-style: none;
  margin-top: 20px;
  padding: 0;
}

.piano-features li {
  padding: 10px 0;
  border-bottom: 1px dashed #eef3f8;
  font-weight: 400;
  color: var(--text-dark);
  display: flex;
  gap: 12px;
  align-items: center;
}

.piano-features li i {
  color: var(--primary);
  font-size: 1rem;
  width: 22px;
}

.badge-limited {
  background: rgba(217, 184, 133, 0.1);
  color: var(--primary-dark);
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 30px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
}

.support-box {
  margin: 40px 0;
  background: rgba(217, 184, 133, 0.05);
  border-radius: 60px;
  padding: 22px 35px;
  text-align: center;
  border: 1px solid rgba(217, 184, 133, 0.2);
}

.support-box i {
  color: #000;
  margin-right: 8px;
}

.support-box span {
  color: #000;
}

/* ===== PAGINA PACCHETTI - NUOVI STILI ===== */
.pricing-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.pricing-hr {
  width: 25%;
  border-top: 2px solid #D9B885;
  opacity: 0.5;
  margin: 0;
}

.pricing-icon {
  margin: 0 20px;
  color: #D9B885;
  font-size: 1.2rem;
}

.pricing-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.pricing-toggle-label {
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-toggle-label.active {
  color: var(--primary);
  font-weight: 600;
}

.pricing-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.pricing-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e0e0e0;
  transition: 0.3s;
  border-radius: 30px;
}

.pricing-toggle-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .pricing-toggle-slider {
  background-color: var(--primary);
}

input:checked + .pricing-toggle-slider:before {
  transform: translateX(30px);
}

.pricing-discount-badge {
  background: rgba(217, 184, 133, 0.1);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 30px;
  margin-left: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.pricing-card {
  background: white;
  border-radius: 32px;
  padding: 30px;
  border: 1px solid rgba(217, 184, 133, 0.2);
  box-shadow: var(--card-shadow);
  transition: all 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-4px);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.02);
  z-index: 1;
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary);
  color: white;
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  white-space: nowrap;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(217, 184, 133, 0.2);
}

.pricing-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.pricing-card-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 10px;
}

.pricing-card-price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-badge {
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 30px;
  display: inline-block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-card-body {
  flex: 1;
  margin-bottom: 25px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #eef3f8;
  font-weight: 400;
  color: var(--text-dark);
  display: flex;
  gap: 12px;
  align-items: center;
}

.pricing-features-list li i {
  color: var(--primary);
  font-size: 1rem;
  width: 22px;
}

.pricing-features-list li i.fa-clock {
  color: var(--text-muted);
}

.pricing-card-footer {
  text-align: center;
  margin-top: auto;
}

.pricing-card-btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 15px;
  transition: all 0.2s;
  width: 100%;
}

.pricing-card-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
  color: white;
}

.pricing-card-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.pricing-card-note i {
  margin-right: 5px;
  color: var(--primary);
}

/* FAQ SECTION */
.faq-section {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(217, 184, 133, 0.2);
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.faq-item {
  background: rgba(217, 184, 133, 0.03);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(217, 184, 133, 0.1);
  transition: all 0.2s;
}

.faq-item:hover {
  background: rgba(217, 184, 133, 0.05);
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-question i {
  color: var(--primary);
  font-size: 1.2rem;
}

.faq-question span {
  font-weight: 500;
  color: var(--text-dark);
}

.faq-contact {
  text-align: center;
  padding: 30px;
  background: rgba(217, 184, 133, 0.02);
  border-radius: 60px;
  font-size: 1.1rem;
}

.faq-contact i {
  color: var(--primary);
  margin-right: 10px;
}

.faq-contact a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-left: 5px;
}

.faq-contact a:hover {
  text-decoration: underline;
}

/* ===== CANDIDATURA CONTAINER ===== */
.candidatura-container {
  background-color: white;
  border: 1px solid rgba(217, 184, 133, 0.2);
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(185, 146, 94, 0.1);
}

.candidatura-section {
  margin-bottom: 2rem;
}

.candidatura-section h3 {
  color: #000 !important;
  font-weight: 600;
}

/* ===== FORM ELEMENTS ===== */
.form-control {
  background-color: var(--bg-light) !important;
  border: 1px solid transparent !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  border-radius: 16px !important;
  transition: all 0.2s;
}

.form-control:focus {
  box-shadow: 0 0 0 4px rgba(217, 184, 133, 0.15), 0 2px 8px rgba(0,0,0,0.02);
  border-color: var(--primary) !important;
  background-color: white !important;
}

.form-control-lg {
  font-size: 1rem;
}

.input-group-text {
  background-color: var(--bg-light) !important;
  border: 1px solid transparent !important;
  border-radius: 16px 0 0 16px !important;
  padding: 0.9rem 1.2rem;
}

.input-group-text select {
  background-color: transparent;
  border: none;
  outline: none;
  color: var(--text-dark);
  font-weight: 500;
  cursor: pointer;
}

.input-group .form-control {
  border-radius: 0 16px 16px 0 !important;
}

.form-text {
  color: var(--text-muted) !important;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-text em {
  font-style: italic;
}

/* ===== FORM CHECK ===== */
.form-check {
  padding-left: 1.8rem;
  margin-bottom: 0.5rem;
}

.form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.2em;
  margin-left: -1.8rem;
  border: 2px solid #d9c8b0;
  border-radius: 6px;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(217, 184, 133, 0.25);
  border-color: var(--primary);
}

.form-check-label {
  color: var(--text-dark);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-label i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}

/* ===== LINE SEPARATOR ===== */
hr {
  border-top: 1px solid rgba(217, 184, 133, 0.2);
  opacity: 1;
  margin: 1.5rem 0;
}

/* ===== TYPOGRAPHY ===== */
h2 {
  color: #000;
  font-weight: 700;
}

.display-5 {
  font-weight: 700;
}

.text-secondary {
  color: var(--text-muted) !important;
}

/* ===== FOOTER ===== */
footer {
  background-color: white;
  border-top: 1px solid rgba(217, 184, 133, 0.2) !important;
}

footer a {
  color: #000 !important;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--primary) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .navbar-nav .btn {
    margin-top: 0.5rem;
    width: 100%;
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .popular-badge {
    position: static;
    transform: none;
    display: inline-block;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 20px;
    min-height: auto;
  }
  
  .hero-content {
    padding: 25px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .cta-block {
    padding: 40px 25px;
  }
  
  .cta-block h2 {
    font-size: 1.8rem;
  }
  
  .piano-card {
    padding: 28px 20px;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .btn-lg.rounded-pill {
    width: 100%;
  }
  
  .professionisti-row {
    flex-direction: column;
  }
  
  .prof-card {
    width: 100%;
  }
  
  .pricing-toggle-wrapper {
    flex-wrap: wrap;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.5rem !important;
  }
  
  .benefit-card {
    padding: 24px 20px;
  }
  
  .candidatura-container {
    padding: 1.5rem !important;
  }
  
  .input-group {
    flex-wrap: nowrap;
  }
  
  .input-group-text {
    padding: 0.9rem 0.8rem;
  }
  
  .input-group-text select {
    max-width: 80px;
  }
  
  .pricing-hr {
    width: 15%;
  }
  
  .pricing-card {
    padding: 20px;
  }
  
  .pricing-card-price {
    font-size: 2rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.bg-light-custom {
  background-color: var(--bg-light);
}

.text-primary-custom {
  color: var(--primary);
}

.border-primary-light {
  border-color: rgba(217, 184, 133, 0.2) !important;
}