/* ChoreGami Pricing Section Styles */
.pricing-section {
  padding: 1.5rem 0;
  color: #333;
  margin: 0;
  background: #f8fafc;
}

/* Ensure page background stays default */
body {
  background: white;
}

.pricing-section + * {
  background: white;
}

.pricing-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.trust-banner {
  display: inline-block;
  background: #f3f4f6;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #4b5563;
}

.families-count {
  font-weight: 700;
  color: #667eea;
}

.pricing-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
}

.pricing-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Monthly/Annual Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.toggle-option {
  background: none;
  border: none;
  color: #4a5568;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.toggle-option.active {
  color: #667eea;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 30px;
  background: #e2e8f0;
  border-radius: 15px;
  cursor: pointer;
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #667eea;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-slider.annual {
  transform: translateX(30px);
}

.savings-badge {
  display: inline-block;
  background: #ffd700;
  color: #333;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  margin-left: 0.5rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Subscription-specific grid layout */
.pricing-grid.subscription-view {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Pricing Cards */
.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #333;
}

/* Compact subscription view */
.pricing-card.subscription {
  padding: 1.25rem;
  max-width: 350px;
}

.pricing-card.subscription .plan-emoji {
  display: none;
}

.pricing-card.subscription .plan-header {
  margin-bottom: 0.75rem;
}

.pricing-card.subscription .plan-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.pricing-card.subscription .plan-description {
  display: none;
}

.pricing-card.subscription .plan-pricing {
  margin-bottom: 1rem;
}

.pricing-card.subscription .price {
  margin-bottom: 0.25rem;
}

.pricing-card.subscription .amount {
  font-size: 2.5rem;
}

.pricing-card.subscription .free-forever {
  font-size: 1rem;
  margin-top: 0.25rem;
}

.pricing-card.subscription .annual-details {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.pricing-card.subscription .savings-highlight,
.pricing-card.subscription .savings-amount {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  margin: 0.25rem 0;
}

.pricing-card.subscription .tax-message {
  font-size: 0.7rem;
  margin-top: 0.25rem;
}

.pricing-card.subscription .benefits-list {
  margin-bottom: 1rem;
}

.pricing-card.subscription .benefits-list li {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Hide empty list items */
.pricing-card.subscription .benefits-list li[style*="height: 8px"] {
  display: none;
}

/* Compact section headers */
.pricing-card.subscription .benefits-list li[style*="font-weight: bold"] {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.pricing-card.subscription .plan-cta {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.pricing-card.complete:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
  border-color: #0284c7;
}

.pricing-card.popular {
  border: 3px solid #ffd700;
  transform: scale(1.05);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* Complete tier styling */
.pricing-card.complete {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #0ea5e9;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd700;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Plan Header */
.plan-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.plan-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-description {
  opacity: 0.8;
  font-size: 1rem;
}

/* Pricing Display */
.plan-pricing {
  text-align: center;
  margin-bottom: 1.5rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0.25rem;
}

.period {
  font-size: 1.2rem;
  opacity: 0.7;
}

.free-forever {
  font-size: 1.2rem;
  font-weight: 600;
  color: #22c55e;
}

.annual-details {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.savings-highlight {
  background: #22c55e;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.savings-amount {
  color: #22c55e;
  font-weight: 600;
  font-size: 0.875rem;
}

.tax-message {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.3;
}

.checkmark {
  margin-right: 0.75rem;
  flex-shrink: 0;
  color: #22c55e;
}

/* Remove auto-generated checkmarks since component handles them */

/* CTA Button */
.plan-cta {
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.plan-cta.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.plan-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.plan-cta.secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.plan-cta.secondary:hover {
  background: #667eea;
  color: white;
}

.no-cc-required {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 0.25rem;
  font-weight: 400;
}

.pricing-card.featured .plan-cta.primary {
  background: white;
  color: #667eea;
}

.pricing-card.featured .plan-cta.primary:hover {
  background: #f8fafc;
}

/* Trust Indicators */
.pricing-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4a5568;
  font-size: 0.875rem;
}

.trust-icon {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pricing-header h2 {
    font-size: 2rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-trust {
    gap: 1rem;
  }
  
  .trust-item {
    font-size: 0.8rem;
  }
}