﻿/* EEG Biofeedback - Arkusz stylów */

/* 
  Główne kolory:
  - Fioletowy: #8e44ad (primary-color)
  - Ciemny fiolet: #6c3483 (primary-dark)
  - Jaśniejszy fiolet: #a569bd (primary-light)
  - Bardzo jasny fiolet: #f3e5f5 (primary-very-light)
*/

/* Sekcja hero */
.hero-section {
  padding: 4rem 0;
  background-color: #f4edf7;
  color: white;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  max-width: 650px;
}

.hero-text h1 {
  color: #8a2eb8;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-text p {
  color: black;
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-image {
  flex: 1;
  position: relative;
  max-width: 550px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background-color: white;
  padding: 5px;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Sekcja "Jak działa EEG Biofeedback" */
.how-works-section {
  padding: 5rem 0;
  background-color: #fff;
}

.how-works-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.how-works-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.how-works-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.how-works-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-very-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.how-works-icon img {
  width: 36px;
  height: 36px;
  color: var(--primary-color);
}

.how-works-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.how-works-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* Sekcja "Trening - od środka" */
.training-inside-section {
  padding: 5rem 0;
  background-color: var(--primary-very-light);
}

.section-description {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.training-details {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.training-details p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: #333;
}

.training-details p:last-child {
  margin-bottom: 0;
}

/* Sekcja "Przebieg treningu" */
.training-process-section {
  padding: 5rem 0;
  background-color: #fff;
}

.process-steps {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.step-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* Sekcja "Korzyści z treningu" */
.benefits-section {
  padding: 5rem 0;
  background-color: var(--primary-very-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-very-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.benefit-icon img {
  width: 42px;
  height: 42px;
  color: var(--primary-color);
}

.benefit-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.benefit-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* Sekcja "Zastosowania kliniczne" */
.applications-section {
  padding: 5rem 0;
  background-color: #fff;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.application-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.application-card:hover {
  transform: translateY(-5px);
}

.application-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-very-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.application-icon img {
  width: 42px;
  height: 42px;
  color: var(--primary-color);
}

.application-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.application-card ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.application-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  line-height: 1.5;
  color: #444;
}

.application-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

/* Sekcja FAQ */
.faq-section {
  padding: 5rem 0;
  background-color: var(--primary-very-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  background-color: #f9f9f9;
  color: #333;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #f3f3f3;
}

.faq-question[aria-expanded="true"] {
  background-color: var(--primary-color);
  color: white;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  stroke: white;
}

.faq-answer {
  background-color: white;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 1.5rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* Sekcja CTA */
.cta-section {
  padding: 5rem 0;
  background-color: var(--primary-very-light);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  min-width: 200px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(142, 68, 173, 0.1);
}

/* Media Queries */
@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
  }
  
  .how-works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .applications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}