/* Pricing specific styles */
.pricing {
  padding: 4rem 0;
  text-align: center;
}

.pricing h1 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: var(--font-size-large);
  margin-bottom: 1rem;
  font-weight: 500;
}

.free-trial-banner {
  margin: 1.5rem auto;
  max-width: 600px;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: var(--font-size-large);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.free-trial-banner::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

/* Pricing cards grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem auto;
  max-width: 800px;
  padding: 1rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  border: 1px solid var(--border-color);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

body.high-contrast .pricing-card {
  background-color: var(--bg-color);
  background-image: none;
  border: 2px solid var(--border-color);
}

/* Featured card styles */
.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(27, 42, 74, 0.25);
}

.pricing-card.featured::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 14px;
  border: 2px solid var(--accent-color);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 15px 35px rgba(27, 42, 74, 0.4);
}

.pricing-card.featured:hover::after {
  opacity: 0.5;
}

.pricing-card.featured .select-plan-button {
  background-color: var(--accent-color);
}

/* Popular tag */
.popular-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
}

body.high-contrast .popular-tag {
  background-color: var(--accent-color);
  color: var(--button-text-color);
}

/* Card header */
.pricing-card h3 {
  background-color: var(--primary-color);
  color: white;
  margin: 0;
  padding: 1.5rem 1rem;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.pricing-card h3::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

body.high-contrast .pricing-card h3 {
  background-color: var(--primary-color);
  background-image: none;
  color: var(--button-text-color);
}

/* Price display */
.price {
  font-size: 2.5rem;
  font-weight: 700;
  padding: 1.5rem 0 0.5rem;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.price::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.price-description {
  color: #666;
  font-size: 1rem;
  padding-bottom: 1rem;
  margin-top: 0.5rem;
}

body.high-contrast .price,
body.high-contrast .price-description {
  color: var(--text-color);
}

/* Features list */
.features-list {
  list-style: none;
  padding: 1rem;
  margin: 0;
  text-align: left;
  flex-grow: 1;
}

.features-list li {
  padding: 0.7rem 0;
  position: relative;
  padding-left: 2rem;
  color: var(--text-color);
}

.features-list li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  transition: transform 0.2s ease-out;
}

.features-list li:hover::before {
  transform: scale(1.2) translateX(2px);
}

body.high-contrast .features-list li::before {
  color: var(--accent-color);
}

/* Savings highlight */
.savings-highlight {
  font-weight: 700;
  color: var(--accent-color) !important;
  background-color: rgba(255, 153, 0, 0.08);
  padding: 0.3rem 0.5rem 0.3rem 2rem !important;
  border-radius: 4px;
  margin: 0.5rem 0;
}

body.high-contrast .savings-highlight {
  background-color: rgba(255, 255, 0, 0.15);
  color: var(--accent-color) !important;
}

/* Call to action button */
.select-plan-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem;
  width: 100%;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.select-plan-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body.high-contrast .select-plan-button {
  background-color: var(--primary-color);
  color: var(--button-text-color);
  border-top: 2px solid var(--border-color);
}

body.high-contrast .select-plan-button:hover {
  background-color: var(--secondary-color);
}

/* Pricing notes */
.pricing-notes {
  max-width: 700px;
  margin: 2rem auto 0;
  padding: 1.2rem;
  background-color: #f9f9f9;
  border-radius: 6px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pricing-notes p {
  font-size: 1.05rem;
  line-height: 1.5;
  position: relative;
  padding-left: 25px;
}

.pricing-notes p::before {
  content: "ℹ️";
  position: absolute;
  left: 0;
  font-size: 18px;
}

body.high-contrast .pricing-notes {
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-color);
}

/* Responsive styling for pricing cards */

/* Responsive */
@media (max-width: 992px) {
  .pricing-grid {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
    order: -1;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
  
  .price {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .benefit-item {
    width: 140px;
  }
}

/* No comparison table styles needed */

/* No FAQ section styles needed */

@media (max-width: 768px) {
  .pricing-notes {
    margin: 2rem 1rem 0;
    padding: 1rem;
  }
}
