/* How It Works Hero */
.how-it-works-hero {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.how-it-works-hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.how-it-works-hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Overview Video */
.overview-video {
  padding: 5rem 0;
  background-color: var(--background-white);
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.video-placeholder {
  width: 100%;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.play-button:hover {
  background-color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button img {
  width: 30px;
  height: 30px;
}

/* Process Steps */
.process-steps {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 30px;
  width: 2px;
  height: calc(100% - 30px);
  background-color: var(--secondary-color);
  z-index: 1;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-number {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.timeline-content {
  background-color: var(--background-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: var(--box-shadow);
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.timeline-image {
  margin: 1.5rem 0;
}

.timeline-image img {
  width: 15%;
  border-radius: var(--border-radius);
}

.timeline-details h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.timeline-details ul {
  list-style: none;
}

.timeline-details li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.timeline-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary-color);
}

/* Technology Explained */
.technology-explained {
  padding: 5rem 0;
  background-color: var(--background-white);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.tech-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.tech-item:hover {
  transform: translateY(-5px);
}

.tech-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-light);
  border-radius: 50%;
}

.tech-icon img {
  width: 35px;
  height: 35px;
}

.tech-item h3 {
  margin-bottom: 1rem;
}

.tech-item p {
  color: var(--text-light);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background-color: var(--background-white);
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  background-color: var(--background-white);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-cta {
  text-align: center;
  margin-top: 3rem;
}

.faq-cta p {
  margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .how-it-works-hero-content h1 {
    font-size: 2.2rem;
  }

  .timeline-item {
    padding-left: 0;
  }

  .timeline-number {
    margin: 0 auto;
  }

  .timeline-item::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .how-it-works-hero-content h1 {
    font-size: 1.8rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }
}

