/* Call-to-Action Section */
button {
  border: none;
  outline: none;
}

.cta {
  padding: 4rem 2rem;
  text-align: center;
  background: #0e3f09;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.cta-button {
  padding: 0.8rem 1rem;
  background: #00ff88;
  color: #0a0a0a;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease-in-out 4s forwards,
    pulse 2s ease-in-out 5s infinite;
  font-size: 0.9rem;
}

.cta-button:hover {
  background: #00cc66;
  cursor: pointer;
}

.cta.animate {
  opacity: 1;
  transform: scale(1);
}

.cta-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #f0f8ff;
}

.cta-text {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #ccc;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #f0f8ff;
}

.cta-feature i {
  font-size: 1.5rem;
  color: #00ff88;
}

/* CTA Button Pulsating Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* About Section */
.about {
  padding: 4rem 2rem;
  text-align: center;
  background: #1a1a1a;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.about.animate {
  opacity: 1;
  transform: scale(1);
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #f0f8ff;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #ccc;
  text-align: left;
}

.about-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
}

.about-item .fas {
  font-size: 4.5rem;
  width: 20%;
}

.about-item p {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 40px;
  width: 70%;
}

.about-icon {
  /* position: absolute; */
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: #00ff88;
}

.about-features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.feature-item {
  width: 28%;
  padding: 1.5rem;
  margin: 1rem;
  background: #2a2a2a;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.feature-item i {
  font-size: 2rem;
  color: #00ff88;
  margin-bottom: 1rem;
}

.feature-item h3 {
  color: #f0f8ff;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: #f0f8ff;
}

/* FAQ Section Styles */
.faq {
  padding: 4rem 2rem;
  background: #1a1a1a;
  /* text-align: center; */
}

.faq-items {
  max-width: 900px;
  margin: 2rem auto 0;
}

.faq-item {
  background: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.1);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #f0f8ff;
}

.faq-question i {
  color: #00ff88;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

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

.faq-answer p {
  margin-top: 0;
  line-height: 1.7;
  color: #ddd;
}

.faq-answer ul {
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.faq-answer a {
  color: #00ff88;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* General section animation */
section,
.crypto-reviews,
.faq {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

section.visible,
.crypto-reviews.visible,
.faq.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animate cards when their parent section is visible */
section.visible .how-it-works-step,
section.visible .how-it-works-feature {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s; /* Add a slight delay for a staggered effect */
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #0f8;
}

.overview-text,
.intro-text,
.faq-intro,
.reviews-intro,
.step-intro,
.platform-intro,
.section-intro {
  width: 70%;
  margin: 1rem auto;
}

.overview-text_2,
.outro-text,
.faq-outro,
.reviews-outro,
.step-outro,
.platform-outro,
.section-outro {
  width: 70%;
  margin: 3.5rem auto 3rem;
}

/* Step-by-Step Guide Section */
.step-by-step-guide {
  padding: 80px 20px;
  background: #1a1a1a;
  text-align: center;
}

.step-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Card Container */
.step-card {
  width: 22%;
  perspective: 1000px; /* Enable 3D space for flipping */
  height: 350px;
}

.card-front,
.card-back {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2a2a2a;
  border-radius: 15px;
  padding: 1rem;
  position: absolute;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

.card-front {
  flex-direction: column;
  text-align: center;
}

.card-front i {
  font-size: 3rem;
  color: #00ff88;
  margin-bottom: 1rem;
}

.card-front h3 {
  color: #f0f8ff;
  margin-bottom: 1rem;
}

.card-front p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.card-back {
  flex-direction: column;
  padding: 1.5rem;
  background-color: #1a1a1a;
  border-radius: 15px;
  color: #f0f8ff;
  transform: rotateY(180deg);
  text-align: left;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

/* Flip effect on hover */
.step-card:hover .card-front {
  transform: rotateY(180deg);
  cursor: pointer;
}

.step-card:hover .card-back {
  transform: rotateY(0deg);
  cursor: pointer;
}

.swipe-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  background-color: transparent;
  position: relative;
  overflow: hidden;
  opacity: 0.5;
  transition: all 0.3s ease;
  animation: opacity 3s ease-in-out infinite;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  cursor: pointer;
  color: #0f8;
  transition: transform 0.3s;
}

.content-info {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  transform: translate(0);
}

.content-info p {
  color: #0f8;
  font-size: 0.8rem;
}

.arrow:hover {
  transform: translateY(-50%) scale(1.2);
}

.left {
  left: 10px;
  animation: arrow-left 3s ease-in-out infinite;
}

.right {
  right: 10px;
  animation: arrow-right 3s ease-in-out infinite;
}

@keyframes opacity {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@keyframes arrow-left {
  0% {
    left: 10px;
  }

  50% {
    left: 15px;
  }
}

@keyframes arrow-right {
  0% {
    right: 10px;
  }

  50% {
    right: 15px;
  }
}

.section-title {
  @media screen and (max-width: 1040px) {
    font-size: 1.8rem !important;
  }

  .step-card {
    width: 42%;
  }
}

@media screen and (max-width: 767px) {
  .feature-item {
    width: 100%;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .swipe-container {
    bottom: 28%;
    left: 0%;
    right: 0%;
  }

  .overview-text,
  .intro-text,
  .faq-intro,
  .reviews-intro,
  .step-intro,
  .platform-intro,
  .section-intro {
    width: 100%;
    padding: 0 1rem;
  }

  .overview-text_2,
  .outro-text,
  .faq-outro,
  .reviews-outro,
  .step-outro,
  .platform-outro,
  .section-outro {
    width: 100%;
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.5rem !important;
  }

  .step-card {
    width: 100%;
  }

  .cta-features {
    flex-direction: column;
  }

  .faq-answer ul li {
    font-size: 0.85rem;
  }
}
