/* ===================================================================
   APEXJOBS DESIGN SYSTEM & STYLESHEET
   Aesthetics: Obsidian Dark Mode, Electric Neon Accents, Ultra-Clean Human Craft
   =================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-main: #0B0F19;
    --bg-card: #131B2E;
    --bg-card-hover: #1A243B;
    --bg-glass: rgba(19, 27, 46, 0.75);
    --bg-glass-border: rgba(255, 255, 255, 0.08);

    --primary-blue: #3B82F6;
    --primary-blue-hover: #2563EB;
    --primary-glow: rgba(59, 130, 246, 0.35);

    --emerald-green: #10B981;
    --emerald-glow: rgba(16, 185, 129, 0.2);

    --accent-purple: #8B5CF6;
    --accent-amber: #F59E0B;

    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(59, 130, 246, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.25);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Base Setup --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    color-scheme: dark;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden { display: none !important; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.text-center { text-align: center; }
.text-emerald { color: var(--emerald-green); }
.margin-auto { margin-left: auto; margin-right: auto; }
.margin-top-md { margin-top: 1.25rem; }
.margin-bottom-lg { margin-bottom: 2.5rem; }
.max-w-2xl { max-width: 44rem; }

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 40%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- Buttons & Action Elements --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: var(--border-subtle);
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-glow {
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-full { width: 100%; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* --- Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-accent {
    background: rgba(59, 130, 246, 0.2);
    color: #93C5FD;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-count {
    background: var(--primary-blue);
    color: white;
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-full);
    margin-left: 0.3rem;
}

/* --- Top Announcement Bar --- */
.announcement-bar {
    background: linear-gradient(90deg, #1E1B4B 0%, #0F172A 50%, #064E3B 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.link-glow {
    color: #93C5FD;
    text-decoration: underline;
    font-weight: 600;
}

.close-announcement {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1rem;
}

/* --- Header & Navigation --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    padding: 0.4rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-blue);
    border-radius: var(--radius-full);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-glow-1 {
    top: -100px;
    left: 20%;
    width: 500px;
    height: 500px;
    background: #3B82F6;
}

.hero-glow-2 {
    top: 100px;
    right: 15%;
    width: 450px;
    height: 450px;
    background: #10B981;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge-wrapper {
    margin-bottom: 1.5rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-muted);
    backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--emerald-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald-green);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    max-width: 54rem;
    margin: 0 auto 1.25rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

/* --- Search Card Bar --- */
.search-card-wrapper {
    background: var(--bg-glass);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    max-width: 58rem;
    margin: 0 auto 3rem;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(11, 15, 25, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    padding: 0.4rem 0.8rem;
}

.input-icon {
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.search-select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
}

.search-select option {
    background: var(--bg-card);
    color: var(--text-main);
}

.search-divider {
    width: 1px;
    height: 32px;
    background: var(--border-subtle);
}

.search-btn {
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
}

/* Popular Tag Pills */
.popular-searches {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0 0.5rem;
    flex-wrap: wrap;
}

.search-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 600;
}

.search-tags-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-tag-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.quick-tag-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    color: var(--text-main);
    border-color: var(--primary-blue);
}

/* --- Hero Metrics Grid --- */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 58rem;
    margin: 0 auto;
}

.stat-card {
    background: rgba(19, 27, 46, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* --- Companies Marquee --- */
.companies-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.3);
}

.companies-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 1.75rem;
}

.company-logos-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0.75;
}

.company-logo-item {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.c-sub { color: var(--primary-blue); margin-left: 2px; }

/* --- Job Board Section --- */
.job-board-section {
    padding: 5rem 0;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-pills-wrapper {
    display: flex;
    gap: 0.5rem;
    background: rgba(19, 27, 46, 0.6);
    padding: 0.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.pill-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pill-btn:hover { color: var(--text-main); }
.pill-btn.active {
    background: var(--primary-blue);
    color: white;
}

/* Category Scroll Bar */
.category-scroll-bar {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    scrollbar-width: thin;
}

.cat-chip {
    white-space: nowrap;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cat-chip:hover {
    border-color: var(--border-highlight);
    color: var(--text-main);
}

.cat-chip.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.active-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.clear-filters-btn {
    background: none;
    border: none;
    color: #F87171;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
}

/* --- Job Cards Grid --- */
.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.job-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    background: var(--bg-card-hover);
}

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

.company-badge-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.company-logo {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-blue);
    overflow: hidden;
}

.company-logo img { width: 100%; height: 100%; object-fit: cover; }

.job-meta-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.job-company-name {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bookmark-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-dim);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.bookmark-btn:hover, .bookmark-btn.saved {
    color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--accent-amber);
}

.job-snippet {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.job-tags-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.job-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.job-tag.tag-emerald {
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald-green);
    border-color: rgba(16, 185, 129, 0.25);
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.job-salary {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.job-posted-time {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.load-more-container { text-align: center; }

/* --- Interactive Salary Section --- */
.salary-section {
    padding: 4rem 0;
}

.salary-card-box {
    background: linear-gradient(135deg, #131B2E 0%, #0F172A 100%);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-card);
}

.salary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.salary-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.salary-form-controls .form-group {
    margin-bottom: 1.5rem;
}

.salary-form-controls label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(11, 15, 25, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.range-slider {
    width: 100%;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.salary-display-card {
    background: rgba(11, 15, 25, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.salary-badge {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
}

.salary-amount-group {
    font-family: var(--font-heading);
    margin: 1rem 0 1.5rem;
}

.currency-symbol { font-size: 2rem; font-weight: 700; color: var(--emerald-green); }
.salary-number { font-size: 3.5rem; font-weight: 800; color: var(--text-main); }
.salary-per { font-size: 1rem; color: var(--text-muted); }

.salary-breakdown {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
    text-align: left;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
}

.breakdown-item strong { color: var(--text-main); }

/* --- Features Section --- */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition-fast);
}

.feature-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-3px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.icon-blue { background: rgba(59, 130, 246, 0.15); color: var(--primary-blue); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald-green); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }

.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }

/* --- FAQ & AEO Section --- */
.faq-section {
    padding: 4rem 0 6rem;
}

.faq-accordion-wrapper {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--primary-blue);
    transition: var(--transition-fast);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding-bottom: 1.25rem;
    transition: max-height 0.3s ease-in-out;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

/* --- CTA Section --- */
.cta-section {
    padding: 2rem 0 6rem;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: var(--primary-blue);
    filter: blur(140px);
    opacity: 0.2;
    pointer-events: none;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-desc {
    color: var(--text-muted);
    max-width: 32rem;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

.cta-newsletter-form {
    display: flex;
    max-width: 28rem;
    margin: 0 auto 1rem;
    gap: 0.5rem;
}

.cta-input {
    flex: 1;
    padding: 0.85rem 1rem;
    background: rgba(11, 15, 25, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
}

.cta-note { font-size: 0.8rem; color: var(--text-dim); }

/* --- Footer --- */
.site-footer {
    background: #070A12;
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem;
    max-width: 20rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-links a:hover { color: var(--primary-blue); }

.footer-links-col h4 {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.footer-links-col a:hover { color: var(--text-main); }

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-status-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-green);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--emerald-green);
    border-radius: 50%;
}

/* --- Modal & Quick Apply --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 10, 18, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 42rem;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
}

.modal-body { padding: 2rem; }

/* File Drop Zone */
.file-dropzone {
    border: 2px dashed var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    background: rgba(11, 15, 25, 0.5);
    margin-top: 1rem;
}

.file-dropzone:hover {
    border-color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.05);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast-msg {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    color: var(--text-main);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .job-cards-grid { grid-template-columns: 1fr; }
    .salary-grid { grid-template-columns: 1fr; gap: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .search-form { flex-direction: column; }
    .search-divider { display: none; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .main-nav.mobile-active { display: block; }
    .main-nav .nav-list { flex-direction: column; gap: 1rem; }
    .mobile-nav-toggle { display: flex; }
    .hero-title { font-size: 2.25rem; }
    .footer-top-grid { grid-template-columns: 1fr; }
    .cta-newsletter-form { flex-direction: column; }
}
