/* Marketing Toolkit - Shared Styles */

/* Custom Properties */
:root {
    --color-copywriting: #8B5CF6;
    --color-competitor: #EF4444;
    --color-content: #10B981;
    --color-seo: #3B82F6;
    --color-advertising: #F59E0B;
    --color-research: #EC4899;
    --color-dashboards: #6366F1;
    --color-ecommerce: #14B8A6;
    --color-social: #F97316;
    --color-automation: #8B5CF6;
    --color-misc: #64748B;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fadeIn { animation: fadeIn 0.3s ease-out forwards; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* Utility Classes */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Card Hover Effects */
.category-card:hover { transform: translateY(-4px); }
.utility-card:hover { transform: scale(1.05); }

/* Form Styling */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    ring: 2px;
    border-color: transparent;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background-color: #6366f1;
    color: white;
}

.btn-primary:hover {
    background-color: #4f46e5;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

/* Tag/Chip Styles */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.tag-purple { background-color: #f3e8ff; color: #7c3aed; }
.tag-red { background-color: #fee2e2; color: #dc2626; }
.tag-green { background-color: #dcfce7; color: #16a34a; }
.tag-blue { background-color: #dbeafe; color: #2563eb; }
.tag-amber { background-color: #fef3c7; color: #d97706; }
.tag-pink { background-color: #fce7f3; color: #db2777; }
.tag-teal { background-color: #ccfbf1; color: #0d9488; }
.tag-orange { background-color: #ffedd5; color: #ea580c; }
.tag-gray { background-color: #f3f4f6; color: #4b5563; }

/* Card Styles */
.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

/* Results Section */
.result-card {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1rem;
}

/* Loading Spinner */
.spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid #e5e7eb;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hide-mobile { display: none; }
}

@media (min-width: 769px) {
    .hide-desktop { display: none; }
}
