/* ============================================
   CIVICFIX CAREER PAGE ENHANCED STYLES
   ============================================ */

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: rgba(16, 185, 129, 0.15);
    --primary-glow: rgba(16, 185, 129, 0.4);
    --secondary: #6366f1;
    --secondary-light: rgba(99, 102, 241, 0.15);
    --dark: #0a0f1a;
    --dark-secondary: #111827;
    --dark-tertiary: #1e293b;
    --gray-900: #f1f5f9;
    --gray-800: #e2e8f0;
    --gray-700: #cbd5e1;
    --gray-600: #94a3b8;
    --gray-500: #64748b;
    --gray-400: #475569;
    --gray-300: #334155;
    --gray-200: #1e293b;
    --gray-100: #0f172a;
    --gradient: linear-gradient(135deg, #10b981, #6366f1);
    --gradient-hover: linear-gradient(135deg, #059669, #4f46e5);
    --card-bg: rgba(17, 24, 39, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(16, 185, 129, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--dark);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* NAVIGATION */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.nav.scrolled {
    padding: 14px 0;
    background: rgba(10, 15, 26, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--gray-900);
}

.nav-brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.btn-nav {
    padding: 12px 28px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* HERO SECTION */
.career-hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-glow);
    filter: blur(120px);
    opacity: 0.2;
    z-index: -1;
}

.glow-1 { top: -200px; right: -100px; }
.glow-2 { bottom: -200px; left: -100px; }

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    padding: 16px 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary {
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--gray-400);
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ABOUT SECTION */
.career-about {
    padding: 100px 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.meta-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-bottom: 16px;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.stats-mini {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-v {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-t {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
}

.image-glass {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.image-glass img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr;
    }
}

/* PERKS GRID */
.why-join {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .perks-grid {
        grid-template-columns: 1fr;
    }
}

.perk-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 48px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.perk-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.3);
}

.perk-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.perk-card h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 16px;
}

/* HIRING PROCESS TIMELINE */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 50px;
    bottom: 50px;
    width: 2px;
    background: var(--glass-border);
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--dark-secondary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.step-content {
    padding-top: 15px;
}

.step-content h4 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

/* OPEN POSITIONS */
.open-positions {
    padding: 100px 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 1024px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

.job-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.job-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.4);
}

.job-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.job-card:hover .job-image img {
    transform: scale(1.1);
}

.job-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.job-content {
    padding: 40px;
}

.job-content h3 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.job-desc {
    color: var(--gray-500);
    margin-bottom: 24px;
}

.job-reqs {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.job-reqs li {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--gray-400);
    font-weight: 600;
}

.btn-apply {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* FINAL CTA */
.career-cta {
    padding-bottom: 120px;
}

.cta-card {
    background: var(--gradient);
    border-radius: 48px;
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-label {
    display: inline-block;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.cta-content h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary-white {
    padding: 18px 48px;
    background: #fff;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-outline {
    padding: 18px 48px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* FOOTER */
.footer {
    background: var(--dark-secondary);
    padding: 100px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-col h4 {
    color: var(--gray-900);
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    text-decoration: none;
    color: var(--gray-600);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-600);
}

.badge {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 10px;
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }
.reveal-delay-3 { transition-delay: 0.6s; }

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 54px;
    height: 54px;
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
