/**
 * Workforce Institute Center of Excellence - Design System
 * Institutional Navy, Professional Blue, Warm Amber Gold
 */

:root {
    --primary: #071329;
    --primary-light: #0d1b38;
    --primary-dark: #040a17;
    --secondary: #2563eb;
    --secondary-hover: #1d4ed8;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-orange: #f97316;
    --accent-orange-hover: #ea580c;
    --accent-pink: #ec4899;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --background: #071329;
    --surface: #0c1833;
    --surface-card: #0f2042;
    --surface-card-hover: #142852;
    --surface-light: #ffffff;
    --border: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-accent: rgba(249, 115, 22, 0.4);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-editorial: 'Newsreader', Georgia, serif;
}

/* Base Institutional Reset & Typography */
body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    font-weight: 700;
}

.font-editorial {
    font-family: var(--font-editorial);
    font-style: italic;
}

/* Eyebrow Pill Badge */
.wf-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.wf-badge-orange {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.35);
}

.wf-badge-navy {
    background: rgba(37, 99, 235, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(37, 99, 235, 0.35);
}

/* Reference-Style Primary Pill CTA (Bright Orange/Yellow Gradient) */
.wf-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px -4px rgba(249, 115, 22, 0.45);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    cursor: pointer;
}
.wf-btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -4px rgba(249, 115, 22, 0.6);
    color: #ffffff;
}

/* Transparent Pill Secondary CTA (Watch Video / Outline) */
.wf-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}
.wf-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-2px);
}

.wf-btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    transition: all 0.2s ease;
}
.wf-btn-outline-gold:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
    color: #ffffff;
}

/* Glassmorphic & Modern Rounded Card Surface */
.wf-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}
.wf-card:hover {
    border-color: rgba(249, 115, 22, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.6);
}

.wf-glass-panel {
    background: rgba(15, 32, 66, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--background);
}
::-webkit-scrollbar-thumb {
    background: var(--surface-hover);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Theory of Change Progression connector lines */
.theory-node::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, #d97706, rgba(217, 119, 6, 0.2));
}
@media (max-width: 1024px) {
    .theory-node::after {
        display: none;
    }
}
