/* App Hero */
.app-hero {
  padding: 5rem 0;
  background-color: var(--background-light);
  overflow: hidden;
}

.app-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.app-hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.app-hero-text p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.app-download-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.app-store-button img,
.play-store-button img {
  height: 50px;
}

.qr-code {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qr-code img {
  width: 100px;
  height: 100px;
}

.qr-code p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.app-hero-image img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

/* App Features */
.app-features {
  padding: 5rem 0;
  background-color: var(--background-white);
}

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

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

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

.feature-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%;
}

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

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
}

/* App Demo */
.app-demo {
  padding: 5rem 0;
  background-color: var(--background-light);
}

.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;
}

/* App Testimonials */
.app-testimonials {
  padding: 5rem 0;
  background-color: var(--background-white);
}

.testimonials-slider {
  display: flex;
  gap: 2rem;
  overflow-x: hidden;
  margin-bottom: 2rem;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.33rem);
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  position: relative;
}

.testimonial-content p::before {
  content: '"';
  font-size: 3rem;
  color: rgba(67, 97, 238, 0.2);
  position: absolute;
  top: -1.5rem;
  left: -1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.app-rating {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.prev-btn,
.next-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--background-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--secondary-color);
}

.prev-btn::before,
.next-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--text-color);
  border-right: 2px solid var(--text-color);
  display: block;
}

.prev-btn::before {
  transform: rotate(-135deg);
}

.next-btn::before {
  transform: rotate(45deg);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dots .dot.active {
  background-color: var(--secondary-color);
}

/* Download CTA */
.download-cta {
  padding: 5rem 0;
  background-color: #f5f5f5;
  color: #000000;
  text-align: center;
}

.download-cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.download-cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-cta .app-download-buttons {
  justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .app-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-download-buttons {
    justify-content: center;
  }

  .qr-code {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-slider {
    flex-direction: column;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .app-hero-text h1 {
    font-size: 2.2rem;
  }

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

  .app-download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .app-hero-text h1 {
    font-size: 1.8rem;
  }

  .download-cta-content h2 {
    font-size: 1.8rem;
  }
}

