/* ── Statux Shared Styles ──
 * Custom (non-Tailwind) styles shared across all products.
 * Loaded via: <link rel="stylesheet" href="/shared/styles/common.css">
 * Must be loaded BEFORE Tailwind CDN script tag.
 */

/* ── Gradients ── */

.gradient-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
}

.dark .gradient-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e40af 100%);
}

/* ── Animations ── */

.status-dot {
    animation: pulse 2s infinite;
}

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

/* ── Card Hover Effects ── */

.feature-card {
    transition: transform 0.2s ease;
}

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

.pricing-card {
    transition: transform 0.2s ease;
}

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

/* ── Prose Typography (help pages) ── */

.prose h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.prose h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose code {
    background: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.dark .prose code {
    background: #374151;
}

/* ── Public Status Page Theming ── */

:root {
    --primary-color: #2563eb;
}

.bg-primary-themed {
    background-color: var(--primary-color);
}

.text-primary-themed {
    color: var(--primary-color);
}

.border-primary-themed {
    border-color: var(--primary-color);
}
