/* ==========================================================================
   JSF SOLUÇÕES - Corporate Tech Theme Stylesheet
   ========================================================================== */

:root {
    --bg-primary: #090d16;
    --bg-secondary: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.75);
    --border-subtle: rgba(56, 189, 248, 0.12);
    --border-highlight: rgba(6, 182, 212, 0.4);
    --cyan-accent: #06b6d4;
    --blue-accent: #0ea5e9;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Glassmorphism Styles */
.glass-navbar {
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.12);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: rgba(6, 182, 212, 0.35);
    box-shadow: 0 20px 30px -10px rgba(6, 182, 212, 0.15), 0 0 20px rgba(6, 182, 212, 0.08);
}

.glass-panel {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Metallic Cyan Glow */
.glow-cyan {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}

.glow-text-cyan {
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}

/* Badges & Pills */
.category-pill {
    transition: all 0.2s ease-in-out;
}

.category-pill:hover, .category-pill.active {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #090d16;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0ea5e9;
}

/* Floating WhatsApp Button Pulse */
.whatsapp-pulse {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Markdown Formatted Content in Details Page */
.markdown-content {
    line-height: 1.75;
    color: #cbd5e1;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
    color: #f8fafc;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.markdown-content h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.markdown-content h3 {
    font-size: 1.25rem;
    color: #38bdf8;
}

.markdown-content p {
    margin-bottom: 1rem;
}

.markdown-content ul,
.markdown-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
    list-style-type: disc;
}

.markdown-content li {
    margin-bottom: 0.35rem;
}

.markdown-content strong {
    color: #ffffff;
    font-weight: 600;
}

.markdown-content a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.markdown-content a:hover {
    color: #06b6d4;
}

.markdown-content table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.markdown-content th,
.markdown-content td {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.markdown-content th {
    background: rgba(30, 41, 59, 0.6);
    color: #ffffff;
}