/* ==========================================================================
   Home Page Styles - EXTRACTED FROM INLINE
   Custom styles for the landing page
   ========================================================================== */

/* ==========================================================================
   HERO SECTION - Modern & Dynamic
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--space-8);
    opacity: 0.95;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: white;  /* ← Add this if you want to be explicit */
    text-shadow: 0 1px 3px rgba(0,0,0,0.2)
}

.hero-cta-container {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-10);
}

.hero-btn {
    padding: var(--space-4) var(--space-8);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.hero-btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-btn-secondary {
    background: white;
    color: var(--primary-600);
    border: 2px solid white;
}

.hero-btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Hero Value Cards */
.hero-value-cards {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    margin-top: var(--space-10);
}

.hero-value-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    min-width: 200px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1)
}

.hero-value-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.hero-value-card:hover::before {
    left: 100%;
}

.value-card-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.hero-value-card:hover .value-card-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.value-card-icon i {
    font-size: 1.3rem;
    color: white;
}

.value-card-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.value-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-1);
    font-family: var(--font-primary);
}

.value-card-desc {
    font-size: 0.85rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Floating Animation Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--secondary-900);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--secondary-600);
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.feature-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(15deg);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-900);
    margin-bottom: var(--space-3);
}

.feature-description {
    color: var(--secondary-600);
    line-height: 1.7;
    font-size: 1rem;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}


/* ==========================================================================
   MARKET INSIGHTS SECTION
   ========================================================================== */
.insights-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.insight-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
}

.insight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(79, 70, 229, 0.2);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid rgba(79, 70, 229, 0.1);
}

.insight-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insight-icon i {
    font-size: 1.5rem;
    color: white;
}

.insight-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-900);
    margin: 0;
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.skill-tag {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-700);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(79, 70, 229, 0.2);
    position: relative;
    transition: all var(--transition-normal);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.skill-tag.hot {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.3);
}

.skill-tag.hot::after {
    content: '🔥';
    margin-left: var(--space-1);
}

.skill-tag.rising {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.3);
}

.skill-tag.rising::after {
    content: '📈';
    margin-left: var(--space-1);
}

/* Category & Location Lists */
.category-list, .location-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.category-item, .location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: rgba(79, 70, 229, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: all var(--transition-normal);
}

.category-item:hover, .location-item:hover {
    background: rgba(79, 70, 229, 0.08);
    transform: translateX(4px);
}

.category-name, .location-name {
    font-weight: 600;
    color: var(--secondary-800);
}

.category-growth {
    color: #10b981;
    font-weight: 700;
    font-size: 0.9rem;
}

.location-badge {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-badge.tech {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
}

.location-badge.finance {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
}

.location-badge.startup {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
}

.location-badge.remote {
    background: rgba(139, 92, 246, 0.1);
    color: #6b21a8;
}

.insight-note {
    font-size: 0.85rem;
    color: var(--secondary-600);
    font-style: italic;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Insights CTA */
.insights-cta {
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    color: white;   
    position: relative;
    overflow: hidden;
}

.insights-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

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

.insights-cta h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: var(--space-3);
    color: white;
}

.insights-cta p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: var(--space-6);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
}

.insights-cta .btn-modern,
.insights-cta .btn-primary-modern {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border: 2px solid white !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease !important;
}

.insights-cta .btn-modern:hover,
.insights-cta .btn-primary-modern:hover {
    background: white !important;
    color: var(--primary-600) !important;
    border-color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

/* White icon color */
.insights-cta .btn-modern i,
.insights-cta .btn-primary-modern i {
    color: white !important;
}

/* Icon color on hover changes to match text */
.insights-cta .btn-modern:hover i,
.insights-cta .btn-primary-modern:hover i {
    color: var(--primary-600) !important;
}

/* ==========================================================================
   JOBS SECTION
   ========================================================================== */
.jobs-section {
    padding: var(--space-20) 0;
    background: var(--secondary-50);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.job-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(79, 70, 229, 0.08);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 70, 229, 0.15);
}

.job-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.job-company-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.5rem;
}

.job-info {
    flex-grow: 1;
}

.job-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-900);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.job-company {
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: var(--space-1);
    font-size: 1rem;
}

.job-location {
    color: var(--secondary-600);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.job-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.job-salary {
    font-weight: 700;
    color: var(--accent-600);
    font-size: 1.1rem;
}

.job-type-badge {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-700);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.job-featured-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--gradient-accent);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.how-it-works-section {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.step-card {
    text-align: center;
    padding: var(--space-8);
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(79, 70, 229, 0.1);
    position: relative;
    transition: all var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 70, 229, 0.2);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 auto var(--space-6);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-900);
    margin-bottom: var(--space-4);
}

.step-description {
    color: var(--secondary-600);
    line-height: 1.7;
    font-size: 1rem;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    padding: var(--space-20) 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="hexagon" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,0 50,15 50,45 30,60 10,45 10,15" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagon)"/></svg>');
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-6);
}

.cta-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    opacity: 0.95;
    margin-bottom: var(--space-8);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: var(--space-4) var(--space-8);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 200px;
    justify-content: center;
}

.cta-btn-primary {
    background: white;
    color: var(--primary-600);
    border: 2px solid white;
}

.cta-btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ==========================================================================
   SCROLL ANIMATION
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-value-cards {
        gap: var(--space-4);
        flex-direction: column;
        align-items: center;
    }
    
    .hero-value-card {
        max-width: 280px;
        width: 100%;
    }
    
    .feature-grid,
    .jobs-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .insights-cta {
        padding: var(--space-6);
    }
    
    .skill-tags {
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .job-header {
        flex-direction: column;
        text-align: center;
    }
    
    .job-company-icon {
        margin: 0 auto var(--space-4);
    }
    
    .job-meta {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }
    
    .insight-card {
        padding: var(--space-4);
    }
    
    .insight-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
    
    .insights-cta h3 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .floating-element,
    .job-featured-badge,
    .step-number {
        animation: none;
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   FEATURED JOBS SECTION - IMPROVED DESIGN
   ========================================================================== */

/* Section Header Improvements */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.section-badge i {
    font-size: 1rem;
}

/* Modern Job Card */
.job-card-modern {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(79, 70, 229, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.job-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.job-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.2);
}

/* Featured Corner Badge */
.featured-corner {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    animation: pulse-glow 2s infinite;
}

.featured-corner i {
    color: white;
    font-size: 1.1rem;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(251, 191, 36, 0.6);
    }
}

/* Card Header */
.job-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-right: 45px; /* Space for featured badge */
}

.company-avatar {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

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

.company-initial {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

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

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-900);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-600);
    margin: 0;
}

/* Job Details */
.job-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(79, 70, 229, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(79, 70, 229, 0.08);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--secondary-700);
}

.detail-item i {
    width: 20px;
    color: var(--primary-600);
    font-size: 1rem;
}

.detail-item span {
    font-weight: 500;
}

/* Card Footer */
.job-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(79, 70, 229, 0.08);
}

.btn-apply {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-apply i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-apply:hover i {
    transform: translateX(3px);
}

.posted-time {
    font-size: 0.85rem;
    color: var(--secondary-500);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.posted-time i {
    font-size: 0.9rem;
}

/* Explore Button */
.btn-explore {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-explore i:last-child {
    transition: transform 0.3s ease;
}

.btn-explore:hover i:last-child {
    transform: translateX(5px);
}

/* Empty State */
.empty-jobs-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 3rem;
    color: var(--primary-500);
}

.empty-jobs-state h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-900);
    margin-bottom: 1rem;
}

.empty-jobs-state p {
    font-size: 1.1rem;
    color: var(--secondary-600);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-card-header {
        padding-right: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .featured-corner {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .featured-corner i {
        font-size: 1rem;
    }
    
    .company-avatar {
        width: 70px;
        height: 70px;
    }
    
    .job-card-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-apply {
        width: 100%;
        justify-content: center;
    }
    
    .posted-time {
        text-align: center;
        justify-content: center;
    }
    
    .btn-explore {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .job-card-modern {
        padding: 1.5rem;
    }
    
    .job-details {
        padding: 1rem;
    }
    
    .section-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
    }
}