/* Pricing Section Styles */
.pricing-section {
  padding: 167px 0 154px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.pricing-section .container {
  padding: 40px 20px;
}

.pricing-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #1e293b;
  margin: 0 0 12px 0;
  font-weight: 800;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  font-size: 1rem;
  color: #475569;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2563eb;
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.save-badge {
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  font-weight: 600;
}

/* Pricing Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 0 auto;
  max-width: 1100px;
  width: 100%;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 600px;
  box-sizing: border-box;
}

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

.pricing-card.featured {
  border: 1px solid #2563eb;
  transform: scale(1.05);
  z-index: 1;
}

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

.popular-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #2563eb;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.plan-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-header h3 {
  margin: 15px 0 8px 0;
  font-size: 1.5rem;
  color: #1e293b;
}

.plan-desc {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.plan-icon {
  width: 60px;
  height: 60px;
  background: #e0f2fe;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.plan-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.plan-header h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 8px;
}

.plan-desc {
  color: #64748b;
  font-size: 0.95rem;
}

.plan-pricing {
  text-align: center;
  margin-bottom: 25px;
}

.price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.currency {
  font-size: 1.5rem;
  color: #1e293b;
  font-weight: 600;
  margin-top: 5px;
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.period {
  font-size: 1rem;
  color: #64748b;
  align-self: flex-end;
  margin-bottom: 5px;
  font-weight: 500;
}

.billing-note {
  color: #94a3b8;
  font-size: 0.9rem;
}

.plan-features {
  margin: 0 0 30px 0;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.plan-features li {
  padding: 8px 0;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #e0f2fe;
  color: #2563eb;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: bold;
}

.btn-plan {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  background: #f1f5f9;
  color: #334155;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-plan:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.btn-featured {
  background: #2563eb;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-featured:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.enterprise-cta {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.enterprise-cta p {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 15px;
}

.enterprise-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.enterprise-link span {
  transition: transform 0.3s ease;
}

.enterprise-link:hover {
  color: #1d4ed8;
}

.enterprise-link:hover span {
  transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
  
  .enterprise-cta {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .billing-toggle {
    flex-direction: column;
    gap: 10px;
  }
  
  .pricing-card {
    padding: 25px 20px;
  }
  
  .amount {
    font-size: 2.5rem;
  }
}
