/* #region Pricing Page Styles - Mobile First Design */

/* Hero Section */
.pricing-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #007a8f 100%);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.pricing-hero__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.pricing-hero__subtitle {
  font-size: 16px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .pricing-hero {
    padding: 60px 0;
  }

  .pricing-hero__title {
    font-size: 36px;
  }

  .pricing-hero__subtitle {
    font-size: 18px;
  }
}

/* Pricing Cards Grid */
.pricing {
  padding: 40px 0;
  background: #f8f9fa;
}

.pricing__intro {
  text-align: center;
  margin-bottom: 32px;
}

.pricing__intro-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.pricing__intro-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .pricing {
    padding: 60px 0;
  }

  .pricing__intro-title {
    font-size: 32px;
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* Monthly Package Section */
.monthly-package {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 0;
}

.monthly-package__header {
  text-align: center;
  margin-bottom: 32px;
}

.monthly-package__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.monthly-package__subtitle {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.monthly-package__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .monthly-package {
    padding: 60px 0;
  }

  .monthly-package__title {
    font-size: 32px;
  }

  .monthly-package__subtitle {
    font-size: 17px;
  }

  .monthly-package__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Monthly Package Card */
.monthly-package-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(0, 95, 115, 0.12);
  border: 3px solid var(--primary-color);
  position: relative;
  transition: all 0.3s ease;
}

.monthly-package-card:first-child{
  border-color: transparent;
}


.monthly-package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 95, 115, 0.2);
}

.monthly-package-card:nth-child(2)::before {
  content: "熱門套餐";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color) 0%, #007a8f 100%);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 95, 115, 0.3);
}

.monthly-package-card__badge {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.monthly-package-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  line-height: 1.4;
}

.monthly-package-card__price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
}

.monthly-package-card__price {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.monthly-package-card__price-detail {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.4;
}

.monthly-package-card__hours {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.monthly-package-card__hours i {
  color: var(--primary-color);
  font-size: 18px;
}

.monthly-package-card__hours-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
}

.monthly-package-card__features {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

.monthly-package-card__feature {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.monthly-package-card__feature i {
  color: var(--secondary-color);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.monthly-package-card__highlight {
  background: linear-gradient(
    135deg,
    rgba(0, 95, 115, 0.08) 0%,
    rgba(0, 95, 115, 0.04) 100%
  );
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 24px;
}

.monthly-package-card__highlight-text {
  font-size: 14px;
  color: var(--text-heading);
  font-weight: 600;
  margin: 0;
}

.monthly-package-card__btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #007a8f 100%);
  color: var(--white);
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 95, 115, 0.2);
}

.monthly-package-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 95, 115, 0.3);
}

@media (min-width: 768px) {
  .monthly-package-card {
    padding: 36px 28px;
  }

  .monthly-package-card__title {
    font-size: 22px;
  }

  .monthly-package-card__price {
    font-size: 46px;
  }

  .monthly-package-card__feature {
    font-size: 15px;
  }
}

/* Pricing Card */
.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 95, 115, 0.15);
  border-color: var(--primary-color);
}

.pricing-card--featured {
  border-color: var(--primary-color);
  position: relative;
}

.pricing-card--featured::before {
  content: "熱門選擇";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-card__header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.pricing-card__icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.pricing-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.pricing-card__price {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.pricing-card__price-unit {
  font-size: 14px;
  color: var(--text-body);
  font-weight: 400;
}

.pricing-card__duration {
  font-size: 14px;
  color: #6c757d;
  margin-top: 4px;
}

.pricing-card__body {
  flex: 1;
}

.pricing-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-card__feature {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.pricing-card__feature i {
  color: var(--secondary-color);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-card__footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.pricing-card__btn {
  display: block;
  width: 100%;
  padding: 12px 24px;
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.pricing-card__btn:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-card__title {
    font-size: 22px;
  }

  .pricing-card__feature {
    font-size: 15px;
  }
}

/* FAQ Section for Pricing */
.pricing-faq {
  background: #f8f9fa;
  padding: 40px 0;
}

.pricing-faq__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 32px;
  text-align: center;
}

.pricing-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-faq__item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pricing-faq__question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.3s ease;
}

.pricing-faq__question:hover {
  background: #f8f9fa;
}

.pricing-faq__question i {
  color: var(--primary-color);
  font-size: 14px;
  transition: transform 0.3s ease;
}

.pricing-faq__item.active .pricing-faq__question i {
  transform: rotate(180deg);
}

.pricing-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.pricing-faq__item.active .pricing-faq__answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

.pricing-faq__answer p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 768px) {
  .pricing-faq {
    padding: 60px 0;
  }

  .pricing-faq__title {
    font-size: 32px;
  }

  .pricing-faq__question {
    padding: 20px 24px;
    font-size: 17px;
  }
}

/* CTA Section */
.pricing-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #007a8f 100%);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.pricing-cta__title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.pricing-cta__text {
  font-size: 16px;
  margin-bottom: 28px;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.pricing-cta__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
}

.pricing-cta__btn--primary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
}

.pricing-cta__btn--primary:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.pricing-cta__btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.pricing-cta__btn--secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .pricing-cta {
    padding: 64px 0;
  }

  .pricing-cta__title {
    font-size: 32px;
  }

  .pricing-cta__text {
    font-size: 18px;
  }

  .pricing-cta__buttons {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    max-width: none;
  }
}

/* #endregion */
