/* Careers Page Redesign - Victory Engine Aesthetic */

:root {
    --navy: #0F1629;
    --navy-dark: #1A2332;
    --gold-primary: #C89D5C;
    --gold-light: #D4AF6A;
    --gold-muted: #9B7E4A;
    --white: #FAFAFA;
    --text-muted: #A8B2C1;
    --border: rgba(200, 157, 92, 0.15);
    --glass-bg: rgba(26, 35, 50, 0.15);
    --success-green: #3FB27F;
}

/* Hero Section */
.careers-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(200, 157, 92, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(59, 178, 127, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--white);
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 3rem 0;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 24px rgba(200, 157, 92, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Layout */
.careers-main {
    padding: 5rem 0;
    background: var(--background);
}

.careers-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Filters Sidebar */
.filters-sidebar {
    position: sticky;
    top: 100px;
}

.filters-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 2px solid var(--border);
    box-shadow: 0 4px 12px rgba(15, 22, 41, 0.05);
}

.filters-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 1.5rem 0;
}

.filters-title i {
    width: 24px;
    height: 24px;
    color: var(--gold-primary);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.filter-label i {
    width: 16px;
    height: 16px;
    color: var(--gold-muted);
}

.search-input,
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    color: var(--navy);
    background: white;
    transition: all 0.2s ease;
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(200, 157, 92, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.btn-clear-filters {
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    color: var(--navy);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-clear-filters:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

.btn-clear-filters i {
    width: 18px;
    height: 18px;
}

/* Jobs Content */
.jobs-content {
    flex: 1;
}

.jobs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.jobs-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.jobs-count span {
    color: var(--gold-primary);
}

.jobs-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jobs-sort label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    color: var(--navy);
    background: white;
    cursor: pointer;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

/* Job Card */
.job-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 
        0 4px 6px rgba(15, 22, 41, 0.1),
        0 10px 15px rgba(15, 22, 41, 0.05),
        0 20px 25px rgba(200, 157, 92, 0.1);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.job-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.job-badge {
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: white;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.meta-item i {
    width: 16px;
    height: 16px;
    color: var(--gold-muted);
}

.job-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.job-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.highlight-tag {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: rgba(200, 157, 92, 0.08);
    border: 1px solid rgba(200, 157, 92, 0.2);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
}

.highlight-tag i {
    width: 14px;
    height: 14px;
    color: var(--gold-primary);
}

.job-card-footer {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid var(--border);
}

.job-card-footer .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.job-card-footer .btn i {
    width: 18px;
    height: 18px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border: 2px solid transparent;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(200, 157, 92, 0.3);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 1.5rem;
    border: 2px dashed var(--border);
}

.no-results i {
    width: 64px;
    height: 64px;
    color: var(--gold-muted);
    margin: 0 auto 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.75rem 0;
}

.no-results p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(200, 157, 92, 0.12) 0%, transparent 60%);
}

.cta-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    text-align: center;
    position: relative;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .careers-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }

    .jobs-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .careers-hero {
        padding: 5rem 0 4rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-card-footer {
        flex-direction: column;
    }

    .cta-card {
        padding: 3rem 2rem;
    }
}
