/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e8f4fd 0%, #ffffff 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #1e3a8a;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #60a5fa;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-demo {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-demo:hover {
    background: #2563eb;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.language-selector:hover {
    color: #60a5fa;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Hero Left Content */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem;
}

/* Hero Right Content */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text .tag {
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3a8a;
    margin: 0.5rem 0;
    line-height: 1.2;
}

.hero-text p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Search Form */
.search-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.search-form h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
}

.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
}

.btn-search {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-search:hover {
    background: #2563eb;
}

.btn-search i {
    font-size: 1.2rem;
}

/* Results Section */
.results-section {
    background: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.results-header h3 {
    color: #1e3a8a;
    font-size: 2rem;
}

.results-count {
    color: #64748b;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.data-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.data-status.mock {
    color: #92400e;
}

.data-status.mock i {
    color: #f59e0b !important;
}

.data-status.live {
    color: #059669;
}

.data-status.live i {
    color: #10b981 !important;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.job-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.job-card h4 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.company-name {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-description {
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.job-requirements {
    margin-bottom: 1rem;
}

.job-requirements h5 {
    color: #1e3a8a;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.job-requirements ul {
    list-style: none;
    padding-left: 0;
}

.job-requirements li {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
}

.job-requirements li:before {
    content: "•";
    color: #3b82f6;
    position: absolute;
    left: 0;
}

.job-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.job-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.source-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.mock-badge {
    background: #fef3cd !important;
    color: #92400e !important;
    border: 1px solid #fecaca;
}

.loading-spinner {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.job-type {
    background: #dbeafe;
    color: #1e3a8a;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-salary {
    color: #10b981;
    font-weight: 600;
}

.apply-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.apply-btn:hover {
    background: #059669;
}

/* Job Types Overview Section */
.job-types-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #1e3a8a;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: #64748b;
    font-size: 1.2rem;
}

.job-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.job-type-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #e5e7eb;
}

.job-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.job-type-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.job-type-header h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin: 0;
    flex: 1;
}

.job-level {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.job-level.junior {
    background: #dbeafe;
    color: #1e3a8a;
}

.job-level.medior {
    background: #d1fae5;
    color: #065f46;
}

.job-level.senior {
    background: #fef3c7;
    color: #92400e;
}

.job-tasks h4,
.job-skills h4 {
    color: #374151;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.job-tasks ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.job-tasks li {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.job-tasks li:before {
    content: "•";
    color: #3b82f6;
    position: absolute;
    left: 0;
}

.job-skills p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Summary Section */
.summary-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.summary-section h3 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.summary-category h4 {
    color: #374151;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.summary-category ul {
    list-style: none;
    padding: 0;
}

.summary-category li {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.summary-category li:before {
    content: "✓";
    color: #10b981;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .dashboard-preview {
        height: 300px;
    }
    
    .nav ul {
        display: none;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .btn-demo {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .job-types-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .job-type-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .job-level {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
    
    .job-card {
        padding: 1rem;
    }
}
