:root {
    --bg-dark: #0a0d14;
    --card-bg: #111622;
    --card-border: #1e2638;
    --card-hover: #171f30;
    --text-main: #f3f4f6;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-hover: #0ea5e9;
    --badge-bg: rgba(56, 189, 248, 0.1);
    --badge-border: rgba(56, 189, 248, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.2s ease-in-out;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    border-bottom: 1px solid var(--card-border);
    padding: 20px 0;
    background-color: rgba(10, 13, 20, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: block;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo h1 span {
    color: var(--accent);
}

.stats-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 40px;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
}

/* Search Bar */
.search-bar {
    display: flex;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 8px;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
}

.input-wrapper {
    display: flex;
    align-items: center;
}

.search-wrapper {
    flex: 1;
    position: relative;
}

.search-wrapper .icon {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 14px;
    color: var(--text-muted);
}

.search-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 12px 14px 12px 44px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
}

.select-wrapper select {
    background: var(--bg-dark);
    color: var(--text-main);
    border: 1px solid var(--card-border);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

/* Jobs Grid */
.jobs-section {
    padding: 20px 0 60px;
    flex: 1;
}

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

.job-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.job-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
    background: var(--card-hover);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.category-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 9999px;
    background: var(--badge-bg);
    color: var(--accent);
    border: 1px solid var(--badge-border);
}

.salary-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: #10b981;
}

.job-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.company-name {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.job-snippet {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.5;
    flex: 1;
}

.card-actions {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    border: none;
}

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

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

.btn-primary {
    background: var(--accent);
    color: #04131f;
    font-weight: 600;
    flex: 1;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

.modal-wrapper {
    position: relative;
    background: #131926;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2;
}

.close-btn:hover {
    color: var(--text-main);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
}

.modal-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    padding-right: 30px;
}

.modal-meta {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--card-border);
}

.modal-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.modal-desc p {
    margin-bottom: 14px;
}

/* Loading & Empty States */
.loading-state, .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.spinner {
    width:
