/* Estilos para el sistema freemium */
.usage-indicator {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  margin: 16px 0;
  font-size: 0.9rem;
}

.usage-indicator.premium {
  background: linear-gradient(135deg, rgba(167,139,250,0.1), rgba(212,255,101,0.1));
  border-color: #a78bfa;
  color: #1f2937;
  font-weight: 600;
}

.usage-text {
  margin-bottom: 8px;
  color: #374151;
  font-weight: 500;
}

.usage-bar {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.usage-progress {
  height: 100%;
  transition: width 0.3s ease;
  border-radius: 3px;
}

.freemium-limit-warning {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 12px;
  margin: 12px 0;
  color: #92400e;
  font-size: 0.9rem;
}

.freemium-limit-warning strong {
  color: #b45309;
}

.upgrade-prompt {
  background: linear-gradient(135deg, rgba(167,139,250,0.1), rgba(212,255,101,0.1));
  border: 1px solid #a78bfa;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  text-align: center;
}

.upgrade-prompt h4 {
  margin: 0 0 8px 0;
  color: #1f2937;
  font-size: 1.1rem;
}

.upgrade-prompt p {
  margin: 0 0 12px 0;
  color: #374151;
  font-size: 0.9rem;
}

.upgrade-btn {
  background: linear-gradient(135deg, #a78bfa, #d4ff65);
  color: #1f2937;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.upgrade-btn:hover {
  transform: translateY(-1px);
}

.tool-card.premium-only {
  opacity: 0.6;
  position: relative;
}

.tool-card.premium-only::after {
  content: "⭐ Premium";
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #a78bfa, #d4ff65);
  color: #1f2937;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

.tool-usage-info {
  margin-top: 8px;
  font-size: 0.8rem;
}

.tool-usage-info .usage-indicator {
  margin: 0;
  padding: 8px;
  font-size: 0.75rem;
}

.tool-usage-info .usage-text {
  font-size: 0.7rem;
  margin-bottom: 4px;
}

.tool-usage-info .usage-bar {
  height: 4px;
}

.freemium-hero-section {
  background: linear-gradient(135deg, rgba(167,139,250,0.1), rgba(212,255,101,0.1));
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  text-align: center;
  border: 1px solid rgba(167,139,250,0.2);
}

.freemium-hero-section h3 {
  margin: 0 0 12px 0;
  color: var(--dark-blue);
  font-size: 1.3rem;
}

.freemium-hero-section p {
  margin: 0 0 16px 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.freemium-hero-section .price-highlight {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-purple);
  margin: 0;
}

.freemium-hero-section .price-period {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .usage-indicator {
    padding: 10px;
    font-size: 0.85rem;
  }
  
  .upgrade-prompt {
    padding: 12px;
  }
  
  .upgrade-prompt h4 {
    font-size: 1rem;
  }
  
  .freemium-hero-section {
    padding: 16px;
    margin: 16px 0;
  }
  
  .freemium-hero-section h3 {
    font-size: 1.1rem;
  }
  
  .freemium-hero-section .price-highlight {
    font-size: 1.5rem;
  }
}
