/* Pricing Page Styling */
.pricing-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  opacity: 0;
  animation: fadeIn 1s ease-in-out 1.5s forwards;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-in-out 2s forwards;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInDown 1s ease-in-out 2.5s forwards;
}

.pricing-tagline {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease-in-out 3s forwards;
}

.hero-background {
  position: absolute;
  top: 0rem;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/background/stfx_bg_2.jpg") no-repeat center
    center/cover;
  z-index: -1;
  opacity: 0.5;
  background-attachment: fixed;
}

/* Pricing Plans Section */

.pricing-plans {
  padding: 4rem 2rem;
  background-color: #0f0f0f;
  color: #fff;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #00ff88;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.pricing-tab {
  padding: 0.8rem 2rem;
  background: #2a2a2a;
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.pricing-tab.active {
  background: #00ff88;
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.pricing-tab:hover:not(.active) {
  background: #3a3a3a;
  transform: translateY(-2px);
}

.pricing-cards-container,
.signals-container {
  perspective: 1000px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

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

.pricing-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  height: 510px;
  perspective: 1000px;
}

.pricing-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.pricing-card:hover .pricing-card-inner {
  transform: rotateY(180deg);
}

.pricing-card-front,
.pricing-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: #1a1a1a;
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card-back {
  transform: rotateY(180deg);
  background: #252525;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.pricing-card-back h3 {
  color: #00ff88;
  margin-bottom: 1rem;
  /* font-size: 1.5rem; */
}

.pricing-card-back p {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #333;
}

.pricing-header h3 {
  /* font-size: 1.8rem; */
  margin-bottom: 0.5rem;
  color: #fff;
}

.plan-description,
.signal-description {
  color: #aaa;
  /* font-size: 0.95rem; */
  margin-top: 0.5rem;
  line-height: 1.5;
}

.price {
  margin: 1.5rem 0;
}

.price .amount {
  font-size: 2rem;
  font-weight: 800;
  color: #00ff88;
  display: block;
}

.price .period {
  font-size: 1rem;
  color: #aaa;
}

.investment-amount {
  margin: 1rem 0;
  color: #ddd;
  font-size: 0.95rem;
}

.duration,
.average-earnings {
  color: #ddd;
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.average-earnings {
  font-weight: 600;
  color: #00ff88;
}

.pricing-footer {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.pricing-footer .cta-button {
  /* width: 100%; */
  padding: 0.8rem;
  font-size: 1rem;
}

.pricing-footer.cta-button:hover {
  background: #00cc6a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.table-container {
  margin: 3rem auto;
  max-width: 1000px;
}

.table-container h4 {
  text-align: center;
  color: #00ff88;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #333;
}

.comparison-table th {
  background-color: #2a2a2a;
  color: #fff;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: #252525;
}

.comparison-table tr:hover {
  background-color: #2a2a2a;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: #fff;
}

.comparison-table td {
  color: #ddd;
}

.section-outro {
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 1.5rem;
  background: #1a1a1a;
  border-radius: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

.section-outro strong {
  color: #00ff88;
}

/* Value Proposition Section */
.value-proposition {
  padding: 4rem 2rem;
  background-color: #0f0f0f;
}

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

.value-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: #1a1a1a;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
}

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

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.value-card p {
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pricing-hero h1 {
    font-size: 2.5rem;
  }

  .pricing-hero .pricing-tagline {
    font-size: 1.2rem;
  }

  .pricing-cards-container {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
  }

  .pricing-card.featured {
    transform: none;
  }

  .value-cards {
    flex-direction: column;
    align-items: center;
  }

  .value-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .pricing-card {
    min-width: 100%;
  }

  .pricing-tabs {
    flex-direction: column;
    align-items: center;
  }

  .pricing-tab {
    width: 80%;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 767px) {
  .table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
  }

  /* Hide scrollbar for Chrome/Safari */
  .table-container::-webkit-scrollbar {
    display: none;
  }

  /* Optional: Add some padding at the bottom to indicate scrollability */
  .comparison-table {
    padding-bottom: 15px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
