/* ═══════════════════════════════════════════════════════════════
   TJ360 PRO SUITE — Premium Design System v8.0
   TechJobs360.com — Industrial-Grade Job Board CSS
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties (Design Tokens) ─── */
:root {
    /* Core Colors */
    --tj-primary: #6366f1;
    --tj-primary-hover: #4f46e5;
    --tj-primary-light: #eef2ff;
    --tj-primary-alpha: rgba(99, 102, 241, 0.12);
    --tj-secondary: #06b6d4;
    --tj-accent: #f59e0b;
    --tj-success: #10b981;
    --tj-danger: #ef4444;

    /* Neutrals */
    --tj-bg: #f8fafc;
    --tj-bg-card: #ffffff;
    --tj-bg-card-hover: #f1f5f9;
    --tj-bg-elevated: #ffffff;
    --tj-border: #e2e8f0;
    --tj-border-light: #f1f5f9;
    --tj-text: #0f172a;
    --tj-text-secondary: #64748b;
    --tj-text-muted: #94a3b8;
    --tj-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --tj-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --tj-shadow-md: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -4px rgba(0,0,0,0.05);
    --tj-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --tj-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --tj-glass: rgba(255, 255, 255, 0.8);
    --tj-glass-border: rgba(255, 255, 255, 0.3);

    /* Typography */
    --tj-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --tj-radius: 12px;
    --tj-radius-lg: 16px;
    --tj-radius-xl: 20px;
    --tj-radius-full: 9999px;
    --tj-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --tj-transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --tj-space-xs: 4px;
    --tj-space-sm: 8px;
    --tj-space-md: 16px;
    --tj-space-lg: 24px;
    --tj-space-xl: 32px;
    --tj-space-2xl: 48px;
    --tj-space-3xl: 64px;

    /* Layout */
    --tj-max-width: 1200px;
    --tj-nav-height: 64px;
}

/* ─── Dark Mode ─── */
[data-theme="dark"] {
    --tj-bg: #0f172a;
    --tj-bg-card: #1e293b;
    --tj-bg-card-hover: #334155;
    --tj-bg-elevated: #1e293b;
    --tj-border: #334155;
    --tj-border-light: #1e293b;
    --tj-text: #f1f5f9;
    --tj-text-secondary: #94a3b8;
    --tj-text-muted: #64748b;
    --tj-shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --tj-shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
    --tj-shadow-md: 0 10px 15px -3px rgba(0,0,0,0.3);
    --tj-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.4);
    --tj-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.5);
    --tj-glass: rgba(30, 41, 59, 0.85);
    --tj-glass-border: rgba(51, 65, 85, 0.5);
    --tj-primary-light: #312e81;
    --tj-primary-alpha: rgba(99, 102, 241, 0.2);
}

/* ─── Base Reset & Typography ─── */
*, *::before, *::after {
    box-sizing: border-box;
}

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

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.tj-hero {
    position: relative;
    padding: var(--tj-space-3xl) var(--tj-space-lg);
    padding-top: calc(var(--tj-nav-height) + var(--tj-space-3xl));
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 30%, #7c3aed 60%, #a855f7 100%);
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tj-hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.tj-hero__bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.tj-hero__content {
    position: relative;
    max-width: var(--tj-max-width);
    width: 100%;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.tj-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--tj-space-md);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.tj-hero__title-accent {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fcd34d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: tj-text-shimmer 3s ease-in-out infinite;
}

@keyframes tj-text-shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; transform: translateY(-2px); }
}

.tj-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto var(--tj-space-xl);
    line-height: 1.6;
    font-weight: 400;
}

/* ─── Search Box ─── */
.tj-search-box {
    display: flex;
    align-items: center;
    max-width: 760px;
    margin: 0 auto var(--tj-space-xl);
    background: var(--tj-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--tj-glass-border);
    border-radius: var(--tj-radius-xl);
    padding: 6px;
    box-shadow: var(--tj-shadow-xl), 0 0 0 1px rgba(255,255,255,0.1) inset;
    transition: transform var(--tj-transition), box-shadow var(--tj-transition);
}

.tj-search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--tj-shadow-xl), 0 0 0 2px var(--tj-primary), 0 0 30px rgba(99, 102, 241, 0.3);
}

.tj-search-box__field {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    gap: var(--tj-space-sm);
    padding: var(--tj-space-sm) var(--tj-space-md);
}

.tj-search-box__field--keywords {
    flex: 1.5;
}

.tj-search-box__field--location {
    border-left: 1px solid var(--tj-border);
}

.tj-search-box__icon {
    width: 20px;
    height: 20px;
    color: var(--tj-text-muted);
    flex-shrink: 0;
}

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

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

.tj-search-box__btn {
    display: flex;
    align-items: center;
    gap: var(--tj-space-sm);
    padding: 12px 24px;
    background: var(--tj-primary);
    color: #fff;
    border: none;
    border-radius: calc(var(--tj-radius-xl) - 4px);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--tj-transition), transform var(--tj-transition);
    white-space: nowrap;
    font-family: var(--tj-font);
}

.tj-search-box__btn:hover {
    background: var(--tj-primary-hover);
    transform: scale(1.02);
}

.tj-search-box__btn svg {
    width: 18px;
    height: 18px;
}

/* ─── Search Suggestions Dropdown ─── */
.tj-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--tj-bg-elevated);
    border: 1px solid var(--tj-border);
    border-radius: var(--tj-radius);
    box-shadow: var(--tj-shadow-lg);
    z-index: 100;
    display: none;
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
}

.tj-search-suggestions.active {
    display: block;
    animation: tj-slide-down 0.2s ease;
}

.tj-suggestion-item {
    display: flex;
    align-items: center;
    gap: var(--tj-space-sm);
    padding: var(--tj-space-sm) var(--tj-space-md);
    cursor: pointer;
    transition: background var(--tj-transition);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--tj-border-light);
}

.tj-suggestion-item:last-child {
    border-bottom: none;
}

.tj-suggestion-item:hover {
    background: var(--tj-primary-light);
}

.tj-suggestion-item__type {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--tj-primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    width: 60px;
    flex-shrink: 0;
}

/* ─── Tags ─── */
.tj-hero__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--tj-space-sm);
    margin-bottom: var(--tj-space-xl);
}

.tj-hero__tags-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.9rem;
}

.tj-tag {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: var(--tj-radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--tj-transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.tj-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ─── Stats ─── */
.tj-hero__stats {
    display: flex;
    justify-content: center;
    gap: var(--tj-space-2xl);
}

.tj-hero__stat {
    text-align: center;
}

.tj-hero__stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.tj-hero__stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.tj-section {
    max-width: var(--tj-max-width);
    margin: 0 auto;
    padding: var(--tj-space-3xl) var(--tj-space-lg);
}

.tj-section__header {
    margin-bottom: var(--tj-space-xl);
}

.tj-section__header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--tj-space-md);
}

.tj-section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--tj-text);
    margin: 0 0 var(--tj-space-xs);
    letter-spacing: -0.02em;
}

.tj-section__subtitle {
    font-size: 1rem;
    color: var(--tj-text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--tj-space-sm);
}

.tj-section__footer {
    text-align: center;
    margin-top: var(--tj-space-xl);
}

/* ─── Pulse Dot ─── */
.tj-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--tj-success);
    border-radius: 50%;
    animation: tj-pulse 2s ease-in-out infinite;
}

@keyframes tj-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ═══════════════════════════════════════
   CATEGORIES GRID
   ═══════════════════════════════════════ */
.tj-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--tj-space-md);
}

.tj-category-card {
    display: flex;
    align-items: center;
    gap: var(--tj-space-md);
    padding: var(--tj-space-md) var(--tj-space-lg);
    background: var(--tj-bg-card);
    border: 1px solid var(--tj-border);
    border-radius: var(--tj-radius);
    text-decoration: none;
    transition: all var(--tj-transition);
    cursor: pointer;
}

.tj-category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--tj-shadow-md);
    border-color: var(--cat-color, var(--tj-primary));
}

.tj-category-card:hover .tj-category-card__arrow {
    transform: translateX(4px);
    opacity: 1;
}

.tj-category-card__icon {
    width: 44px;
    height: 44px;
    background: var(--cat-color, var(--tj-primary));
    border-radius: var(--tj-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.15;
    position: relative;
}

.tj-category-card__icon svg {
    width: 22px;
    height: 22px;
    color: var(--cat-color, var(--tj-primary));
    position: absolute;
}

.tj-category-card__icon {
    background: color-mix(in srgb, var(--cat-color, var(--tj-primary)) 12%, transparent);
}

.tj-category-card__info {
    flex: 1;
    min-width: 0;
}

.tj-category-card__name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--tj-text);
}

.tj-category-card__count {
    font-size: 0.8rem;
    color: var(--tj-text-secondary);
}

.tj-category-card__arrow {
    width: 18px;
    height: 18px;
    color: var(--tj-text-muted);
    opacity: 0;
    transition: all var(--tj-transition);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   JOB CARDS
   ═══════════════════════════════════════ */
.tj-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--tj-border-light);
    border-radius: var(--tj-radius-lg);
    overflow: hidden;
    border: 1px solid var(--tj-border);
}

.tj-job-card {
    display: flex;
    align-items: center;
    gap: var(--tj-space-md);
    padding: var(--tj-space-md) var(--tj-space-lg);
    background: var(--tj-bg-card);
    text-decoration: none;
    transition: all var(--tj-transition);
    cursor: pointer;
    position: relative;
}

.tj-job-card:hover {
    background: var(--tj-bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--tj-shadow-md);
    z-index: 2;
}

.tj-job-card:hover .tj-job-card__apply-btn {
    opacity: 1;
    transform: translateX(0);
}

.tj-job-card--featured {
    border-left: 3px solid var(--tj-accent);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03), transparent);
}

/* ─── Featured Grid (horizontal cards) ─── */
.tj-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--tj-space-md);
}

.tj-featured-grid .tj-job-card {
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--tj-radius-lg);
    border: 1px solid var(--tj-border);
    padding: var(--tj-space-lg);
    gap: var(--tj-space-md);
    border-left: 3px solid var(--tj-accent);
}

.tj-featured-grid .tj-job-card__actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* ─── Job Card Elements ─── */
.tj-job-card__logo {
    width: 48px;
    height: 48px;
    border-radius: var(--tj-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--tj-bg);
}

.tj-job-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tj-job-card__logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--tj-radius);
    letter-spacing: 0.05em;
}

.tj-job-card__content {
    flex: 1;
    min-width: 0;
}

.tj-job-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tj-text);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--tj-transition);
}

.tj-job-card:hover .tj-job-card__title {
    color: var(--tj-primary);
}

.tj-featured-grid .tj-job-card__title {
    white-space: normal;
    font-size: 1.05rem;
}

.tj-job-card__meta {
    display: flex;
    align-items: center;
    gap: var(--tj-space-md);
    font-size: 0.85rem;
    color: var(--tj-text-secondary);
    margin-bottom: var(--tj-space-xs);
}

.tj-job-card__company {
    font-weight: 500;
}

.tj-job-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tj-job-card__location svg {
    flex-shrink: 0;
}

.tj-job-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ─── Badges ─── */
.tj-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--tj-radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.tj-badge--type {
    background: var(--tj-primary-alpha);
    color: var(--tj-primary);
}

.tj-badge--remote {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.tj-badge--salary {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.tj-badge--featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(234, 88, 12, 0.15));
    color: #ea580c;
}

/* ─── Job Card Actions ─── */
.tj-job-card__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--tj-space-sm);
    flex-shrink: 0;
}

.tj-job-card__time {
    font-size: 0.8rem;
    color: var(--tj-text-muted);
    white-space: nowrap;
}

.tj-job-card__apply-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tj-primary);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--tj-transition);
}

/* ═══════════════════════════════════════
   COMPANIES GRID
   ═══════════════════════════════════════ */
.tj-companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--tj-space-md);
}

.tj-company-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tj-space-sm);
    padding: var(--tj-space-lg);
    background: var(--tj-bg-card);
    border: 1px solid var(--tj-border);
    border-radius: var(--tj-radius);
    text-decoration: none;
    transition: all var(--tj-transition);
    text-align: center;
}

.tj-company-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--tj-shadow-md);
}

.tj-company-card__logo {
    width: 56px;
    height: 56px;
    border-radius: var(--tj-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tj-company-card__name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--tj-text);
}

.tj-company-card__count {
    font-size: 0.8rem;
    color: var(--tj-text-secondary);
}

/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */
.tj-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tj-space-lg);
    position: relative;
}

/* Connector line */
.tj-steps-grid::before {
    content: '';
    position: absolute;
    top: 56px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: linear-gradient(to right, var(--tj-primary), var(--tj-secondary));
    opacity: 0.2;
    z-index: 0;
}

.tj-step-card {
    position: relative;
    text-align: center;
    padding: var(--tj-space-lg);
    background: var(--tj-bg-card);
    border: 1px solid var(--tj-border);
    border-radius: var(--tj-radius-lg);
    transition: all var(--tj-transition);
    z-index: 1;
}

.tj-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tj-shadow-md);
    border-color: var(--tj-primary);
}

.tj-step-card__number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--tj-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.tj-step-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--tj-space-md) auto var(--tj-space-sm);
}

.tj-step-card__icon svg {
    width: 36px;
    height: 36px;
    color: var(--tj-primary);
}

.tj-step-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tj-text);
    margin: 0 0 var(--tj-space-xs);
}

.tj-step-card__desc {
    font-size: 0.85rem;
    color: var(--tj-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ═══════════════════════════════════════
   CTA SECTION (EMPLOYER)
   ═══════════════════════════════════════ */
.tj-cta-section {
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #a855f7 100%);
    padding: var(--tj-space-3xl) var(--tj-space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: var(--tj-space-2xl) 0;
}

.tj-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.tj-cta-section__content {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    z-index: 2;
}

.tj-cta-section__title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 var(--tj-space-md);
    letter-spacing: -0.02em;
}

.tj-cta-section__desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 var(--tj-space-xl);
    line-height: 1.6;
}

.tj-cta-section__buttons {
    display: flex;
    gap: var(--tj-space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.tj-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--tj-space-sm);
    padding: 10px 24px;
    border-radius: var(--tj-radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--tj-transition);
    border: 2px solid transparent;
    font-family: var(--tj-font);
    white-space: nowrap;
}

.tj-btn--primary {
    background: var(--tj-primary);
    color: #fff;
    border-color: var(--tj-primary);
}

.tj-btn--primary:hover {
    background: var(--tj-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
    color: #fff;
}

.tj-btn--outline {
    background: transparent;
    color: var(--tj-primary);
    border-color: var(--tj-primary);
}

.tj-btn--outline:hover {
    background: var(--tj-primary);
    color: #fff;
}

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

.tj-btn--white:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: var(--tj-shadow-lg);
    color: var(--tj-primary);
}

.tj-btn--outline-white {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.tj-btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.tj-btn--lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════
   FILTER CHIPS
   ═══════════════════════════════════════ */
.tj-filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tj-chip {
    padding: 6px 16px;
    border-radius: var(--tj-radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--tj-border);
    background: var(--tj-bg-card);
    color: var(--tj-text-secondary);
    cursor: pointer;
    transition: all var(--tj-transition);
    font-family: var(--tj-font);
}

.tj-chip:hover {
    border-color: var(--tj-primary);
    color: var(--tj-primary);
}

.tj-chip--active {
    background: var(--tj-primary);
    border-color: var(--tj-primary);
    color: #fff;
}

/* ═══════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════ */
.tj-loading-skeleton {
    display: flex;
    flex-direction: column;
    gap: var(--tj-space-md);
}

.tj-skeleton-card {
    display: flex;
    align-items: center;
    gap: var(--tj-space-md);
    padding: var(--tj-space-md) var(--tj-space-lg);
    background: var(--tj-bg-card);
    border-radius: var(--tj-radius);
    border: 1px solid var(--tj-border);
}

.tj-skeleton {
    background: linear-gradient(
        90deg,
        var(--tj-border-light) 25%,
        var(--tj-bg-card-hover) 50%,
        var(--tj-border-light) 75%
    );
    background-size: 200% 100%;
    animation: tj-shimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
}

.tj-skeleton--circle {
    width: 48px;
    height: 48px;
    border-radius: var(--tj-radius);
    flex-shrink: 0;
}

.tj-skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tj-skeleton--title {
    height: 18px;
    width: 60%;
}

.tj-skeleton--text {
    height: 14px;
    width: 80%;
}

.tj-skeleton--short {
    width: 40%;
}

@keyframes tj-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ═══════════════════════════════════════
   DARK MODE TOGGLE
   ═══════════════════════════════════════ */
.tj-dark-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--tj-border);
    background: var(--tj-bg-card);
    box-shadow: var(--tj-shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all var(--tj-transition);
}

.tj-dark-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--tj-shadow-xl);
}

.tj-dark-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--tj-text);
    transition: all var(--tj-transition);
}

.tj-dark-toggle__moon {
    display: none;
}

[data-theme="dark"] .tj-dark-toggle__sun {
    display: none;
}

[data-theme="dark"] .tj-dark-toggle__moon {
    display: block;
}

/* ═══════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════ */
.tj-empty-state {
    text-align: center;
    padding: var(--tj-space-3xl) var(--tj-space-lg);
    color: var(--tj-text-muted);
}

.tj-empty-state svg {
    margin-bottom: var(--tj-space-md);
    opacity: 0.5;
}

.tj-empty-state p {
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes tj-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes tj-fade-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes tj-scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Animate cards on scroll */
.tj-job-card,
.tj-category-card,
.tj-company-card,
.tj-step-card {
    animation: tj-fade-in 0.4s ease-out both;
}

.tj-category-card:nth-child(2),
.tj-company-card:nth-child(2) { animation-delay: 0.04s; }
.tj-category-card:nth-child(3),
.tj-company-card:nth-child(3) { animation-delay: 0.08s; }
.tj-category-card:nth-child(4),
.tj-company-card:nth-child(4) { animation-delay: 0.12s; }
.tj-category-card:nth-child(5) { animation-delay: 0.16s; }
.tj-category-card:nth-child(6) { animation-delay: 0.20s; }
.tj-step-card:nth-child(2) { animation-delay: 0.1s; }
.tj-step-card:nth-child(3) { animation-delay: 0.2s; }
.tj-step-card:nth-child(4) { animation-delay: 0.3s; }

/* ═══════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════ */

/* ─── Tablet ─── */
@media (max-width: 1024px) {
    .tj-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tj-steps-grid::before {
        display: none;
    }
    .tj-featured-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    :root {
        --tj-space-3xl: 40px;
    }

    .tj-hero {
        padding-top: calc(var(--tj-nav-height) + 16px);
        padding-bottom: 24px;
        min-height: 380px;
    }

    .tj-search-box {
        flex-direction: column;
        border-radius: var(--tj-radius-lg);
        gap: 0;
    }

    .tj-search-box__field--location {
        border-left: none;
        border-top: 1px solid var(--tj-border);
    }

    .tj-search-box__btn {
        width: 100%;
        justify-content: center;
        margin: 4px;
        border-radius: calc(var(--tj-radius-lg) - 4px);
    }

    .tj-search-box__btn span {
        display: inline;
    }

    .tj-hero__stats {
        gap: var(--tj-space-lg);
    }

    .tj-hero__stat-number {
        font-size: 1.25rem;
    }

    .tj-categories-grid {
        grid-template-columns: 1fr;
    }

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

    .tj-section__header-row {
        flex-direction: column;
    }

    .tj-filter-chips {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tj-filter-chips::-webkit-scrollbar {
        display: none;
    }

    .tj-chip {
        flex-shrink: 0;
    }

    /* Job Card Mobile */
    .tj-job-card {
        padding: var(--tj-space-md);
    }

    .tj-job-card__logo {
        width: 40px;
        height: 40px;
    }

    .tj-job-card__title {
        font-size: 0.9rem;
    }

    .tj-job-card__meta {
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }

    .tj-job-card__apply-btn {
        opacity: 1;
        transform: none;
        font-size: 0.8rem;
    }

    .tj-job-card__actions {
        gap: 4px;
    }

    .tj-steps-grid {
        grid-template-columns: 1fr;
        gap: var(--tj-space-md);
    }

    .tj-cta-section__buttons {
        flex-direction: column;
    }

    .tj-dark-toggle {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    .tj-featured-section .tj-section__header-row {
        align-items: flex-start;
    }
}

/* ─── Small Mobile ─── */
@media (max-width: 375px) {
    .tj-hero__title {
        font-size: 1.75rem;
    }

    .tj-hero__subtitle {
        font-size: 0.9rem;
    }

    .tj-hero__tags {
        gap: 6px;
    }

    .tj-tag {
        padding: 4px 12px;
        font-size: 0.8rem;
    }

    .tj-companies-grid {
        grid-template-columns: 1fr;
    }

    .tj-hero__stats {
        flex-wrap: wrap;
        gap: var(--tj-space-md);
    }
}

/* ═══════════════════════════════════════
   OVERRIDE WP JOB MANAGER DEFAULTS
   ═══════════════════════════════════════ */
.job_listings .job_listing,
.job_listings .no_job_listings_found,
ul.job_listings li.job_listing {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Override Astra/GeneratePress theme spacing conflicts */
.entry-content > .tj-hero,
.entry-content > .tj-section,
.entry-content > .tj-cta-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
}

.entry-content > .tj-section {
    margin-left: auto;
    margin-right: auto;
}

/* Fix for WP Job Manager AJAX loading indicator */
.job_listings .load_more_jobs,
.job_listings .showing_jobs,
.job_listings nav.job-manager-pagination {
    max-width: var(--tj-max-width);
    margin-left: auto;
    margin-right: auto;
    padding: var(--tj-space-md) var(--tj-space-lg);
}

/* ═══════════════════════════════════════
   FEATURED SECTION HIGHLIGHT
   ═══════════════════════════════════════ */
.tj-featured-section {
    position: relative;
}

.tj-featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(245, 158, 11, 0.03),
        rgba(234, 88, 12, 0.02),
        transparent
    );
    pointer-events: none;
    z-index: -1;
}

/* ═══════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════ */
@media print {
    .tj-hero__bg-pattern,
    .tj-dark-toggle,
    .tj-search-box__btn,
    .tj-cta-section,
    .tj-filter-chips {
        display: none !important;
    }

    .tj-hero {
        background: #6366f1 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ═══════════════════════════════════════
   WORDPRESS THEME NAV — MOBILE FIX
   Ensures theme hamburger menu works on mobile
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    /* Override common WP theme nav patterns for mobile */
    .main-navigation .menu-item > a,
    .primary-menu .menu-item > a,
    #site-navigation .menu-item > a,
    .ast-header-sections-navigation .menu-item > a {
        font-family: var(--tj-font) !important;
        font-size: 0.95rem !important;
    }

    /* Style the mobile hamburger toggle */
    .menu-toggle,
    .ast-mobile-menu-trigger-minimal,
    .ast-mobile-menu-trigger-fill,
    .ast-header-sections-navigation .ast-button-wrap,
    button.menu-toggle {
        color: var(--tj-text) !important;
        border-color: var(--tj-border) !important;
    }

    /* Mobile slide-out menu styling */
    .ast-mobile-popup-content,
    .ast-mobile-header-content,
    .main-navigation .sub-menu,
    #site-navigation .sub-menu {
        background: var(--tj-bg-elevated) !important;
        border-color: var(--tj-border) !important;
    }

    [data-theme="dark"] .ast-mobile-popup-content,
    [data-theme="dark"] .ast-mobile-header-content {
        background: var(--tj-bg-elevated) !important;
    }
}

/* ═══════════════════════════════════════
   WP JOB MANAGER ARCHIVE (/jobs/) PAGE
   Complete styling for the job archive
   ═══════════════════════════════════════ */
.post-type-archive-job_listing .site-content,
.tax-job_listing_category .site-content,
.tax-job_listing_type .site-content,
.tax-job_listing_region .site-content {
    max-width: var(--tj-max-width);
    margin: 0 auto;
    padding: var(--tj-space-xl) var(--tj-space-lg);
}

/* Search filters bar */
.job_filters {
    background: var(--tj-bg-card) !important;
    border: 1px solid var(--tj-border) !important;
    border-radius: var(--tj-radius-lg) !important;
    padding: var(--tj-space-lg) !important;
    margin-bottom: var(--tj-space-xl) !important;
    box-shadow: var(--tj-shadow-sm) !important;
}

.job_filters .search_jobs {
    display: flex !important;
    gap: var(--tj-space-md) !important;
    flex-wrap: wrap !important;
}

.job_filters .search_jobs div {
    flex: 1 !important;
    min-width: 200px !important;
}

.job_filters input[type="text"],
.job_filters select {
    width: 100% !important;
    padding: 10px 16px !important;
    border: 1px solid var(--tj-border) !important;
    border-radius: var(--tj-radius) !important;
    font-family: var(--tj-font) !important;
    font-size: 0.95rem !important;
    background: var(--tj-bg) !important;
    color: var(--tj-text) !important;
    transition: border-color var(--tj-transition) !important;
    outline: none !important;
}

.job_filters input[type="text"]:focus,
.job_filters select:focus {
    border-color: var(--tj-primary) !important;
    box-shadow: 0 0 0 3px var(--tj-primary-alpha) !important;
}

.job_filters label {
    font-family: var(--tj-font) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: var(--tj-text-secondary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* Job listings on archive */
ul.job_listings {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    background: var(--tj-border-light) !important;
    border-radius: var(--tj-radius-lg) !important;
    overflow: hidden !important;
    border: 1px solid var(--tj-border) !important;
}

ul.job_listings li.job_listing {
    background: var(--tj-bg-card) !important;
    padding: var(--tj-space-md) var(--tj-space-lg) !important;
    margin: 0 !important;
    border: none !important;
    transition: background var(--tj-transition) !important;
}

ul.job_listings li.job_listing:hover {
    background: var(--tj-bg-card-hover) !important;
}

ul.job_listings li.job_listing a {
    text-decoration: none !important;
    color: var(--tj-text) !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--tj-space-md) !important;
}

ul.job_listings li.job_listing .company {
    color: var(--tj-text-secondary) !important;
    font-size: 0.85rem !important;
}

ul.job_listings li.job_listing .position h3 {
    font-family: var(--tj-font) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin: 0 !important;
    color: var(--tj-text) !important;
}

ul.job_listings li.job_listing .location {
    color: var(--tj-text-secondary) !important;
    font-size: 0.85rem !important;
}

ul.job_listings li.job_listing .meta {
    color: var(--tj-text-muted) !important;
    font-size: 0.8rem !important;
}

/* WP Job Manager company logo in listings */
ul.job_listings li.job_listing .company_logo,
ul.job_listings li.job_listing img.company_logo {
    width: 48px !important;
    height: 48px !important;
    border-radius: var(--tj-radius) !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

/* Job type tags */
ul.job_listings li.job_listing .job-type {
    font-family: var(--tj-font) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    padding: 3px 10px !important;
    border-radius: var(--tj-radius-full) !important;
    background: var(--tj-primary-alpha) !important;
    color: var(--tj-primary) !important;
}

ul.job_listings li.job_listing .job-type.full-time {
    background: var(--tj-primary-alpha) !important;
    color: var(--tj-primary) !important;
}

ul.job_listings li.job_listing .job-type.part-time {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #d97706 !important;
}

ul.job_listings li.job_listing .job-type.contract,
ul.job_listings li.job_listing .job-type.freelance {
    background: rgba(6, 182, 212, 0.1) !important;
    color: #0891b2 !important;
}

/* Pagination */
nav.job-manager-pagination {
    text-align: center !important;
    padding: var(--tj-space-xl) 0 !important;
}

nav.job-manager-pagination a,
nav.job-manager-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: var(--tj-radius) !important;
    font-family: var(--tj-font) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    margin: 0 4px !important;
    transition: all var(--tj-transition) !important;
    border: 1px solid var(--tj-border) !important;
    color: var(--tj-text-secondary) !important;
    background: var(--tj-bg-card) !important;
}

nav.job-manager-pagination a:hover {
    background: var(--tj-primary-light) !important;
    border-color: var(--tj-primary) !important;
    color: var(--tj-primary) !important;
}

nav.job-manager-pagination span.current {
    background: var(--tj-primary) !important;
    border-color: var(--tj-primary) !important;
    color: #fff !important;
}

/* Load more button */
.job_listings .load_more_jobs a {
    display: inline-flex !important;
    align-items: center !important;
    gap: var(--tj-space-sm) !important;
    padding: 12px 28px !important;
    background: var(--tj-primary) !important;
    color: #fff !important;
    border-radius: var(--tj-radius) !important;
    font-family: var(--tj-font) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    transition: all var(--tj-transition) !important;
}

.job_listings .load_more_jobs a:hover {
    background: var(--tj-primary-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35) !important;
}

/* Results count */
.job_listings .showing_jobs {
    font-family: var(--tj-font) !important;
    font-size: 0.9rem !important;
    color: var(--tj-text-secondary) !important;
    text-align: center !important;
}

/* No results */
.job_listings .no_job_listings_found {
    text-align: center !important;
    padding: var(--tj-space-3xl) !important;
    color: var(--tj-text-muted) !important;
    font-family: var(--tj-font) !important;
    font-size: 1.1rem !important;
}

/* ═══════════════════════════════════════
   SINGLE JOB PAGE ENHANCEMENTS
   ═══════════════════════════════════════ */
.single-job_listing .entry-content,
.single-job_listing article {
    max-width: var(--tj-max-width);
    margin: 0 auto;
}

.single-job_listing .job_listing_area {
    background: var(--tj-bg-card) !important;
    border: 1px solid var(--tj-border) !important;
    border-radius: var(--tj-radius-lg) !important;
    padding: var(--tj-space-xl) !important;
    box-shadow: var(--tj-shadow-sm) !important;
    margin-bottom: var(--tj-space-xl) !important;
}

.single-job_listing .application_button {
    display: inline-flex !important;
    align-items: center !important;
    gap: var(--tj-space-sm) !important;
    padding: 14px 32px !important;
    background: var(--tj-primary) !important;
    color: #fff !important;
    border-radius: var(--tj-radius) !important;
    font-family: var(--tj-font) !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: all var(--tj-transition) !important;
}

.single-job_listing .application_button:hover {
    background: var(--tj-primary-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35) !important;
}
/* WP Job Manager Core Overrides for Grid */
ul.job_listings {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
ul.job_listings li.job_listing {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
/* Fix WPJM Skeletons causing massive vertical gaps in the grid */
ul.job_listings li.job_listing-skeleton,
.job_listings-skeleton,
.wp-job-manager-job-listings-skeleton {
    display: none !important;
}

/* Ensure grid applies correctly to all WPJM outputs */
ul.job_listings {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}
ul.job_listings::after, ul.job_listings::before {
    display: none !important;
}
