/* ==========================================================================
   Cari Kerja ID - Official Design System & Stylesheet
   Website: carikerjaid.com
   Branding: "Cari Kerja ID" (I: Merah #EF4444, D: Putih #FFFFFF)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-navy: #0F172A;
    --primary-navy-dark: #020617;
    --primary-navy-light: #1E293B;
    --accent-red: #EF4444;
    --accent-red-hover: #DC2626;
    --accent-red-light: #FEE2E2;
    --pure-white: #FFFFFF;
    --emerald-500: #10B981;
    --emerald-50: #ECFDF5;
    --emerald-700: #047857;
    --amber-500: #F59E0B;
    --amber-50: #FFFBEB;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --------------------------------------------------------------------------
   BRANDING: "Cari Kerja ID"
   Spesifikasi: "Cari Kerja" teks utama, "I" merah, "D" putih dalam badge kontras
   -------------------------------------------------------------------------- */
.brand-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
    transition: var(--transition-fast);
}

.brand-container:hover {
    opacity: 0.95;
    transform: scale(1.01);
}

.brand-text-main {
    color: var(--primary-navy);
    font-weight: 800;
}

.brand-badge-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 2px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 900;
    font-size: 0.95em;
    line-height: 1.2;
    letter-spacing: 0.5px;
    -webkit-text-fill-color: initial !important;
}

.brand-badge-id .id-letter-i {
    color: #EF4444 !important; /* MERAH INDONESIA */
    -webkit-text-fill-color: #EF4444 !important;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
    margin-right: 1px;
}

.brand-badge-id .id-letter-d {
    color: #FFFFFF !important; /* PUTIH BERSIH */
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Light / Header Dark variation */
.brand-dark .brand-text-main {
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   NAVBAR & HEADER
   -------------------------------------------------------------------------- */
.site-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition-normal);
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    padding: 0.5rem 0.25rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-red);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--slate-700);
}

/* --------------------------------------------------------------------------
   BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.65rem 1.35rem;
    font-size: 0.925rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--pure-white);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
    color: var(--pure-white);
}

.btn-dark {
    background-color: var(--primary-navy);
    color: var(--pure-white);
}

.btn-dark:hover {
    background-color: var(--primary-navy-light);
    color: var(--pure-white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--slate-300);
    color: var(--slate-700);
}

.btn-outline:hover {
    background-color: var(--slate-100);
    border-color: var(--slate-400);
    color: var(--slate-900);
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.825rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.25rem 0.65rem;
    font-size: 0.775rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    line-height: 1.2;
}

.badge-featured {
    background-color: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.badge-remote {
    background-color: #EDE9FE;
    color: #5B21B6;
    border: 1px solid #DDD6FE;
}

.badge-fulltime {
    background-color: #E0F2FE;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.badge-salary {
    background-color: var(--emerald-50);
    color: var(--emerald-700);
    border: 1px solid #A7F3D0;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-wrapper {
    background: radial-gradient(1200px 600px at 50% -10%, #1E293B 0%, #0F172A 100%);
    color: var(--pure-white);
    padding: 4.5rem 1.5rem 5.5rem;
    position: relative;
    overflow: hidden;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(239, 68, 68, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--emerald-500);
    box-shadow: 0 0 8px var(--emerald-500);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #EF4444 0%, #F87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .brand-badge-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65em;
    vertical-align: middle;
    padding: 4px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    margin-left: 6px;
    -webkit-text-fill-color: initial !important;
}

.hero-title .brand-badge-id .id-letter-i {
    color: #EF4444 !important;
    -webkit-text-fill-color: #EF4444 !important;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.hero-title .brand-badge-id .id-letter-d {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--slate-300);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

/* Search Box Container */
.hero-search-box {
    background: var(--pure-white);
    padding: 0.65rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.search-field {
    flex: 1 1 240px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.65rem 1rem;
    border-right: 1px solid var(--slate-200);
}

.search-field:last-of-type {
    border-right: none;
}

.search-field svg {
    width: 20px;
    height: 20px;
    color: var(--slate-400);
    flex-shrink: 0;
}

.search-field input, .search-field select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--slate-800);
    background: transparent;
    font-family: inherit;
}

.search-field input::placeholder {
    color: var(--slate-400);
}

.search-submit-btn {
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
}

/* Popular tags below search */
.hero-quick-tags {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--slate-400);
}

.quick-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--slate-200);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition-fast);
}

.quick-tag:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--pure-white);
}

/* --------------------------------------------------------------------------
   STATS BAR
   -------------------------------------------------------------------------- */
.stats-bar {
    max-width: 1120px;
    margin: -2.5rem auto 3.5rem;
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--slate-200);
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--slate-100);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-500);
    font-weight: 600;
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   SECTION HEADERS
   -------------------------------------------------------------------------- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

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

.section-title-wrap h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
}

.section-title-wrap p {
    color: var(--slate-500);
    font-size: 0.95rem;
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   CATEGORIES GRID
   -------------------------------------------------------------------------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.category-card {
    background: var(--pure-white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.25rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--card-color, var(--accent-red));
    opacity: 0;
    transition: var(--transition-fast);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--slate-300);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--card-color, var(--accent-red));
    transition: var(--transition-fast);
}

.category-card:hover .category-icon-box {
    background: var(--card-color, var(--accent-red));
    color: var(--pure-white);
}

.category-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--slate-800);
}

.category-count {
    font-size: 0.825rem;
    color: var(--slate-400);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   JOB CARDS GRID
   -------------------------------------------------------------------------- */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}

.job-card {
    background: var(--pure-white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--slate-300);
}

/* Card Visual Banner (Thumb) */
.job-card-thumb-wrap {
    width: 100%;
    height: 140px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    background-color: var(--slate-900);
}

.job-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.job-card:hover .job-card-thumb-wrap img {
    transform: scale(1.04);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.85rem;
}

.company-logo-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-navy);
    color: var(--pure-white);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.job-card-titles {
    flex: 1;
    min-width: 0;
}

.job-card-company {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-500);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition-fast);
}

.job-card-title:hover {
    color: var(--accent-red);
}

.job-card-snippet {
    font-size: 0.875rem;
    color: var(--slate-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.job-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.25rem;
}

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

.job-time {
    font-size: 0.8rem;
    color: var(--slate-400);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --------------------------------------------------------------------------
   JOB DETAIL PAGE
   -------------------------------------------------------------------------- */
.job-detail-header-card {
    background: var(--pure-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.job-detail-banner-img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    background: var(--primary-navy);
    display: block;
}

.job-detail-main-info {
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.job-detail-left {
    flex: 1;
    min-width: 280px;
}

.job-detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.2;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.job-detail-company-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 1rem;
}

.verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--emerald-50);
    color: var(--emerald-700);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.job-detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.job-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

.job-content-card {
    background: var(--pure-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-subtle);
    padding: 2.25rem;
    margin-bottom: 1.5rem;
}

.job-content-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--slate-100);
}

.job-content-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.job-content-card ul li {
    position: relative;
    padding-left: 28px;
    color: var(--slate-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

.job-content-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--emerald-50);
    color: var(--emerald-500);
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Box */
.job-sidebar-card {
    background: var(--pure-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-subtle);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 5.5rem;
}

.apply-cta-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: var(--radius-lg);
    background-color: var(--accent-red);
    color: var(--pure-white);
    text-align: center;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
    margin-bottom: 0.85rem;
    transition: var(--transition-fast);
}

.apply-cta-btn:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.45);
    color: var(--pure-white);
}

.apply-disclaimer {
    font-size: 0.8rem;
    color: var(--slate-500);
    text-align: center;
    line-height: 1.4;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 0.85rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 9px;
    background: #F8FAFC;
    color: #334155;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #E2E8F0;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.08);
}

.share-btn.wa:hover { background: #ECFDF5; border-color: #10B981; color: #059669; }
.share-btn.tg:hover { background: #F0F9FF; border-color: #0284C7; color: #0284C7; }
.share-btn.li:hover { background: #EFF6FF; border-color: #0A66C2; color: #0A66C2; }
.share-btn.fb:hover { background: #EFF6FF; border-color: #1877F2; color: #1877F2; }

/* Modern Community Channel Showcase */
.community-channel-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.community-channel-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5);
}

.community-channel-card:hover .channel-arrow {
    transform: translateX(3px);
    stroke: #FFFFFF !important;
}

/* Footer Social Chips */
.footer-social-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--slate-300);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    transform: translateY(-1px);
}


/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    margin-top: auto;
    background: var(--primary-navy);
    color: var(--slate-300);
    padding: 4.5rem 1.5rem 2rem;
    border-top: 1px solid var(--primary-navy-light);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    color: var(--pure-white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.925rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--pure-white);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--slate-500);
}

/* --------------------------------------------------------------------------
   ALERT FLASH MESSAGES
   -------------------------------------------------------------------------- */
.alert-flash {
    max-width: 1280px;
    margin: 1.5rem auto 0;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-card);
}

.alert-flash-success {
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-flash-error {
    background-color: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .job-detail-layout {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: -1.5rem;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--slate-100);
        padding-bottom: 0.75rem;
    }
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Universal SaaS Pagination Styling
   ========================================================================== */
.saas-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 0.5rem 0;
}

.saas-pagination-info {
    font-size: 0.9rem;
    color: var(--slate-500);
    font-weight: 500;
}

.saas-pagination-info strong {
    color: var(--primary-navy);
    font-weight: 700;
}

.saas-pagination-list {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.saas-page-item {
    display: inline-block;
}

.saas-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    background: #FFFFFF;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    user-select: none;
    box-shadow: var(--shadow-subtle);
}

.saas-page-link:hover {
    background: var(--slate-50);
    border-color: var(--slate-300);
    color: var(--primary-navy);
    transform: translateY(-1px);
}

.saas-page-item.active .saas-page-link {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.25);
    transform: none;
}

.saas-page-item.disabled .saas-page-link {
    color: var(--slate-400);
    background: var(--slate-100);
    border-color: var(--slate-200);
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.saas-page-link.saas-page-dots {
    border: none;
    background: transparent;
    min-width: 24px;
    padding: 0 4px;
    color: var(--slate-400);
    cursor: default;
    box-shadow: none;
    transform: none;
}

/* Defensive constraint: prevent any unconstrained SVG in navigation or pagination */
nav[role="navigation"] svg,
.pagination svg,
.saas-pagination svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    display: inline-block !important;
}

@media (max-width: 640px) {
    .saas-pagination {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .saas-pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

