/* Pricing Page Styles */

.pricing-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Pricing Hero */
.pricing-hero {
  background: linear-gradient(135deg, #1a336b 0%, #518ac8 100%);
  color: white;
  padding: 8rem 2rem 4rem;
  text-align: center;
  margin-top: 60px;
}

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

.pricing-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.pricing-hero-content p {
  font-size: 1.25rem;
  margin: 0;
  opacity: 0.9;
}

/* Pricing Cards */
.pricing-cards {
  padding: 5rem 2rem;
  background: #f8f9fa;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.2s;
}

.pricing-card:hover {
  border-color: #518ac8;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: #518ac8;
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(81, 138, 200, 0.2);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #518ac8;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a336b;
  margin: 0 0 1rem;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
  line-height: 1;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.plan-description {
  color: #666;
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}

.trial-note {
  color: #27ca40;
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
}

.pricing-cta {
  display: block;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  margin-bottom: 2rem;
}

.pricing-cta.primary {
  background: #518ac8;
  color: white;
}

.pricing-cta.primary:hover {
  background: #3a6ca8;
}

.pricing-cta:not(.primary) {
  background: white;
  color: #518ac8;
  border: 2px solid #518ac8;
}

.pricing-cta:not(.primary):hover {
  background: #518ac8;
  color: white;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-size: 0.9375rem;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li.summary {
  color: #666;
  font-style: italic;
  font-size: 0.875rem;
}

/* Comparison Table */
.comparison-section {
  padding: 5rem 2rem;
  background: white;
}

.comparison-container {
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a336b;
  margin: 0 0 3rem;
  text-align: center;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table th {
  background: #f8f9fa;
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 600;
  color: #1a336b;
  border-bottom: 2px solid #e5e5e5;
}

.comparison-table th:first-child {
  text-align: left;
  padding-left: 2rem;
}

.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

.comparison-table td:first-child {
  text-align: left;
  padding-left: 2rem;
  font-weight: 500;
  color: #1a1a1a;
}

.comparison-table td.included {
  color: #27ca40;
  font-weight: 700;
}

.comparison-table td.not-included {
  color: #ccc;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 2rem;
  background: #f8f9fa;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a336b;
  margin: 0 0 3rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: #518ac8;
}

.faq-item.open {
  border-color: #518ac8;
  box-shadow: 0 4px 12px rgba(81, 138, 200, 0.15);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a336b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-icon {
  font-size: 1.5rem;
  color: #518ac8;
  font-weight: 300;
  margin-left: 1rem;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Pricing CTA */
.pricing-cta {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #1a336b 0%, #518ac8 100%);
  color: white;
}

.pricing-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.pricing-cta p {
  font-size: 1.25rem;
  margin: 0 0 2rem;
  opacity: 0.9;
}

.pricing-cta .cta-primary {
  background: white;
  color: #1a336b;
}

.pricing-cta .cta-primary:hover {
  background: #f0f0f0;
}

/* Responsive */
@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .pricing-hero-content h1 {
    font-size: 2rem;
  }

  .comparison-table {
    font-size: 0.875rem;
  }

  .faq-container h2,
  .comparison-container h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .price {
    font-size: 2.5rem;
  }

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

  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.9375rem;
  }
}
