/* ===== SEZIONE CORSI (CARDS) ===== */
.corsi-activities-section {
  padding: 80px 5%;
  background-color: #f8fafc; /* Leggero sfondo grigio chiaro per far risaltare le card bianche */
  text-align: center;
  min-height: calc(100vh - 80px); /* Prende lo schermo meno la navbar */
}

/* ===== IMMAGINI FLUTTUANTI SPARSE ===== */
.corsi-floating-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-img {
  position: absolute;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  opacity: 0.8;
  border: 4px solid #ffffff;
  animation: float-scatter 6s ease-in-out infinite;
}

.floating-img.animate-float-delayed {
  animation-delay: 3s;
}

@keyframes float-scatter {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.img-cardio {
  top: 10%;
  left: 5%;
}

.img-fitness {
  top: 25%;
  right: 7%;
}

.img-crossfit {
  bottom: 35%;
  left: 6%;
}

.img-home {
  bottom: 10%;
  right: 5%;
}

.activities-header {
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.activities-header h2 {
  font-size: 2.5rem;
  color: #1e293b;
  font-weight: 800;
  margin: 0;
}

.text-blue {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.activities-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  grid-gap: 40px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Stile della Card (ispirato all'immagine) */
.activity-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 5px solid #0284C7;
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.15);
}

.card-title-blue {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 0;
}

.card-subtitle {
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.5;
}

.app-download-link {
  color: #0ea5e9;
  text-decoration: underline;
  font-weight: 700;
  display: inline-block;
  margin-top: 2px;
  transition: color 0.3s ease;
}

.app-download-link:hover {
  color: #0284c7;
}

@media (max-width: 768px) {
  .card-subtitle {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* ===== STILE ACCORDION CORSI ===== */
.accordion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 0;
  cursor: pointer;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  transition: background-color 0.3s ease;
  position: relative;
}

.accordion-header:hover .course-title {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.course-title {
  color: #475569;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  padding: 0 30px; /* Evita sovrapposizione con icona su schermi minuscoli */
  text-align: center;
}

.course-title::before {
  content: '✓';
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2rem;
}

.accordion-icon {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  position: absolute;
  right: 15px;
}

.accordion-content {
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.accordion-body {
  padding: 0 10px 20px 10px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.accordion-body p {
  margin: 8px 0;
}

.accordion-body strong {
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Media query per nascondere le foto fluttuanti su schermi medi e piccoli */
@media (max-width: 1500px) {
  .corsi-floating-images {
    display: none;
  }
}

.plan-section-top {
  min-height: 360px;
}

@media (max-width: 992px) {
  .plan-section-top {
    min-height: auto;
  }
}

/* Media query per le card su mobile */
@media (max-width: 1170px) {
  .corsi-activities-section {
    padding: 60px 5%;
  }
  
  .activities-header h2 {
    font-size: 2rem;
  }
  
  .activity-card {
    padding: 30px 20px;
  }
  
  .card-title-blue {
    font-size: 1.5rem;
  }
}

/* ===== SEZIONE CALL TO ACTION CORSI ===== */
.corsi-cta-section {
  padding: 80px 5%;
  background-color: #f8fafc; /* Continua con lo sfondo della sezione sopra */
}

.corsi-cta-container {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, #06B6D4 0%, #0284c7 100%);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.25);
  position: relative;
  overflow: hidden;
}

/* Decorazione geometrica luminosa */
.corsi-cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(30deg);
  pointer-events: none;
}

.corsi-cta-container::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.corsi-cta-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.corsi-cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.corsi-cta-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

.corsi-cta-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #0284c7;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.corsi-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  background-color: #111827; /* Sfondo scuro elegante */
  color: #FFFFFF; /* Testo bianco ben visibile */
}

/* Responsive CTA */
@media (max-width: 1170px) {
  .corsi-cta-section {
    padding: 40px 5%;
  }

  .corsi-cta-container {
    padding: 40px 20px;
  }
  
  .corsi-cta-content h2 {
    font-size: 2rem;
  }
  
  .corsi-cta-content p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .corsi-cta-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* ===== ABBONAMENTO BASE SECTION ===== */
.abbonamento-base-section {
  padding: 80px 5%;
  background-color: #ffffff; /* Sfondo bianco puro */
  color: #1e293b;
}

.base-premium-container {
  max-width: 1200px;
  margin: 0 auto;
}

.base-header-center {
  text-align: center;
  margin-bottom: 60px;
}

.base-premium-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: #1e293b;
}

.base-premium-subtitle {
  font-size: 1.5rem;
  color: #475569;
  font-weight: 400;
  margin-bottom: 30px;
}

.base-premium-subtitle .highlight-blue {
  color: #0284c7;
  font-weight: 800;
}

.base-features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.base-feature-card {
  flex: 1 1 300px;
  max-width: 450px;
  background: #f8fafc;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border-top: 4px solid #06B6D4;
  transition: transform 0.3s ease;
}

.base-feature-card:hover {
  transform: translateY(-5px);
}

.base-feature-card h4 {
  font-size: 1.3rem;
  color: #0284c7;
  margin-bottom: 15px;
  font-weight: 800;
}

.base-feature-card p {
  color: #475569;
  line-height: 1.6;
  font-size: 1.05rem;
  margin: 0;
}

.base-feature-card p strong {
  color: #1e293b;
}

.base-expert-card {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
}

.base-expert-card h4 {
  font-size: 1.25rem;
  color: #0284c7;
  margin-bottom: 10px;
  font-weight: 800;
}

.base-expert-card p {
  color: #475569;
  font-size: 1.1rem;
  margin: 0;
}

.base-upgrade-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  border: 2px dashed #0284c7;
  margin-bottom: 50px;
}

.base-upgrade-card h4 {
  font-size: 1.4rem;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 800;
}

.base-upgrade-card p {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .base-premium-title {
    font-size: 2.5rem;
  }
}

/* ===== ONETOFOUR METHOD SECTION (CELESTE THEME) ===== */
.onetofour-premium-section {
  position: relative;
  padding: 100px 5%;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  overflow: hidden;
  font-family: inherit;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.onetofour-premium-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.onetofour-header-center {
  text-align: center;
  margin-bottom: 60px;
}

.onetofour-premium-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.text-white {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.onetofour-premium-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  margin-bottom: 30px;
}

.highlight-white {
  color: #FFFFFF;
  font-weight: 700;
}

.onetofour-premium-intro {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.onetofour-premium-intro strong {
  color: #FFFFFF;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255,255,255,0.4);
}

/* Features Grid */
.onetofour-features-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-bottom: 70px;
}

.glass-card.light-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 50px 40px;
  flex: 1 1;
  max-width: 450px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card.light-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
}

.feature-text h4 {
  font-size: 1.5rem;
  color: #0284C7;
  margin-bottom: 30px;
  font-weight: 800;
  text-align: center;
}

.otf-styled-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.otf-styled-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  color: #4B5563;
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 600;
}

.otf-styled-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #06B6D4;
  font-weight: 900;
  font-size: 1.3rem;
}

/* Smart Band Card */
.light-theme-band {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.light-theme-band .smart-band-info h4 {
  font-size: 1.8rem;
  color: #0284C7; /* Dark blue from our gradient */
  margin-bottom: 15px;
  font-weight: 800;
}

.light-theme-band .smart-band-info p {
  font-size: 1.15rem;
  color: #4B5563; /* Dark grey for readability on white */
  line-height: 1.7;
  margin: 0;
}

.light-theme-band .smart-band-info p strong {
  color: #111827; /* Near black */
  font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
  .onetofour-features-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .glass-card.light-card {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .onetofour-premium-section {
    padding: 70px 5%;
  }
  .onetofour-premium-title {
    font-size: 2.5rem;
  }
  .light-theme-band {
    padding: 30px 20px;
  }
}

