/* Pricing Section Styles */
.pricing-header {
  text-align: center;
  padding-bottom: 80px;
}

.pricing-title {
  margin-bottom: 40px;
}

.pricing-toggle {
  display: inline-flex;
  background: var(--gray);
  border-radius: 12px;
  padding: 6px;
  gap: 0;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
html.dark-mode .pricing-toggle {
  background: var(--secondary-color);
  border: var(--border);
}
.toggle-btn {
  padding: 12px 28px;
  border: none;
  background: transparent;
  color: var(--secondary-color);
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.toggle-btn.active {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(16, 195, 189, 0.3);
}

/* Toggle switch animation */
.pricing-toggle::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  background: var(--primary-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(16, 195, 189, 0.3);
}

.pricing-toggle.monthly::before {
  transform: translateX(100%);
}

/* Enhanced hover effects */

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 40px 55px;
  border: 1px solid #f0f0f0;
  position: relative;
  transition: all 0.3s ease;
  height: fit-content;
}
html.dark-mode .pricing-card {
  background: var(--secondary-color);
  border: var(--border);
}
.pricing-card.featured {
  background: var(--gray);
}
html.dark-mode .pricing-card.featured {
  border: 1px solid var(--primary-color) !important;
  border: var(--border);
}

/* Recommended Badge */
.recommended-badge {
  color: var(--secondary-color);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  justify-content: center;
}
.recommended-badge .badge-text {
  color: var(--secondary-color);
}
html.dark-mode .recommended-badge .badge-text {
  color: var(--white);
}
.badge-icon {
  font-size: 1rem;
}
.badge-icon.one {
  animation: unset !important;
  margin: unset;
}
html.dark-mode .badge-icon.one svg {
  fill: var(--white);
}
/* Plan Header */
.plan-header {
  text-align: center;
  margin-bottom: 16px;
}

.plan-name {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.currency {
  font-size: 28px;
  color: var(--secondary-color);
  line-height: 1;
}
html.dark-mode .currency {
  color: var(--white);
}
.amount {
  font-size: 28px;
  color: var(--secondary-color);
  margin: 0 5px;
  line-height: 1;
}
html.dark-mode .amount {
  color: var(--white);
}
.period {
  font-size: 16px;
  color: var(--light-text);
}
html.dark-mode .period {
  color: var(--white);
}
.discount-badge {
  display: inline-block;
  background: var(--light-text);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
}
html.dark-mode .discount-badge {
  background: var(--secondary-color);
  border: var(--border);
}
.plan-description {
  color: var(--light-text);
  font-size: 16px;
  text-align: center;
  margin-bottom: 30px;
}

.pricing-card .btn-primary.secondary {
  width: 100%;
  margin-bottom: 30px;
  background: var(--secondary-color);
}

.pricing-card .btn-primary.secondary:hover {
  background: var(--primary-color);
}

/* Plan Features */
.plan-features {
  text-align: left;
}

.feature-category {
  margin-bottom: 25px;
}

.feature-category h4 {
  font-size: 18px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.feature-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-category li {
  display: flex;
  align-items: center;
  color: var(--light-text);
  font-size: 16px;
  margin-bottom: 8px;
  padding-left: 0;
}

.checkmark {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1rem;
}

.plan-price-content {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
/* Responsive Design */
@media (max-width: 768px) {
  .pricing-title {
    margin-bottom: 30px;
  }

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

  .pricing-card {
    padding: 30px 20px;
  }

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

  .plan-price .amount {
    font-size: 2.8rem;
  }

  .toggle-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .pricing-card:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  .pricing-header {
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {

  .pricing-title {
    font-size: 2rem;
  }

  .pricing-card {
    padding: 25px 15px;
  }

  .plan-price .amount {
    font-size: 2.5rem;
  }

  .plan-button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}
