/* Caledonian Signal - Anthropic-Inspired Design */

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

:root {
    /* Anthropic-inspired elegant palette with Scottish blue accent */
    --primary: #2D2D2D;
    --primary-light: #4A4A4A;
    --secondary: #6B6B6B;
    --accent: #4A7C9E;
    --accent-soft: #6B9BC3;
    --background: #FDFCFB;
    --background-alt: #F8F6F4;
    --surface: #FFFFFF;
    --border: #E8E5E1;
    --border-light: #F0EDE9;
    --text-primary: #2D2D2D;
    --text-secondary: #6B6B6B;
    --text-muted: #9B9B9B;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles - Clean and Minimal */
.header {
    background: var(--surface);
    color: var(--text-primary);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}

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

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

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav a:hover {
    color: var(--text-primary);
}

.nav a.active {
    color: var(--text-primary);
}

.nav a.support-us {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.nav a.support-us:hover {
    background: var(--accent-soft);
    color: var(--white);
}

/* Hero Section - Elegant and Spacious */
.hero,
.jobs-hero {
    background: var(--surface);
    padding: 6rem 0 5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.hero h1,
.jobs-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero p,
.jobs-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.jobs-hero p {
    margin-bottom: 2rem;
}

.submit-job-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.submit-job-cta:hover {
    background: var(--accent-soft);
    color: var(--white);
}

/* Featured Article - Clean Card Design */
.featured {
    padding: 5rem 0;
    background: var(--background);
}

.featured-article {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border);
}

.featured-article:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-soft);
}

.featured-content {
    padding: 3rem;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.featured-excerpt {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Articles Grid - Spacious Layout */
.articles-section {
    padding: 5rem 0;
    background: var(--background);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border);
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-soft);
}

.article-content {
    padding: 2rem;
}

.article-category {
    display: inline-block;
    background: var(--background-alt);
    color: var(--text-secondary);
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.article-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Article Page Specific Styles */
.article-header {
    background: var(--surface);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-light);
}

.back-button {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.back-button:hover {
    color: var(--text-primary);
}

.article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.image-gen-disclaimer {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
    text-align: right;
}

.image-gen-disclaimer a {
    color: var(--accent);
    text-decoration: none;
}

.image-gen-disclaimer a:hover {
    text-decoration: underline;
}

.article-header .article-category {
    display: inline-block;
    background: var(--background-alt);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-header .article-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.article-header .article-excerpt {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.article-header .article-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Article Content - Optimized for Reading */
.article-content {
    background: var(--surface);
    padding: 3rem 0 4rem;
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body h1,
.article-body h2,
.article-body h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem 0;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.article-body h1 {
    font-size: 2rem;
}

.article-body h2 {
    font-size: 1.625rem;
}

.article-body h3 {
    font-size: 1.375rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ol,
.article-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.article-body blockquote {
    border-left: 3px solid var(--accent-soft);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body strong {
    font-weight: 600;
    color: var(--text-primary);
}

.article-body a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.article-body a:hover {
    border-bottom-color: var(--accent);
}

/* Startups Page Specific Styles */
.main-content {
    padding: 5rem 0;
    background: var(--background);
}

.submission-cta {
    margin-bottom: 4rem;
}

.cta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.cta-description {
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: var(--accent-soft);
    color: var(--white);
}

.startups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.startup-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.startup-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-soft);
}

.startup-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.startup-logo {
    width: 56px;
    height: 56px;
    background: var(--background-alt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
}

.startup-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.startup-tagline {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.startup-location {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.startup-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.startup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--background-alt);
    color: var(--text-secondary);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.startup-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Policy & Mission Pages */
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.content {
    max-width: 800px;
    margin: 0 auto;
}

.content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem 0;
    letter-spacing: -0.02em;
}

.content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    letter-spacing: -0.01em;
}

.content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content li {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.highlight-box,
.vision-box {
    background: var(--background-alt);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.highlight-box h3,
.vision-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.highlight-box p,
.vision-box p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 0;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.goal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-soft);
}

.goal-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.goal-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.heritage-section {
    background: var(--background-alt);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 8px;
}

.heritage-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.heritage-section p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-primary);
}

/* Jobs Market Overview Section */
.jobs-market-overview {
    background: var(--background-alt);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}

.jobs-market-overview h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
}

.overview-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.market-insights {
    display: grid;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.insight-section {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.insight-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.insight-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.insight-section p:last-child {
    margin-bottom: 0;
}

.insight-section ul {
    list-style: none;
    padding: 0;
}

.insight-section ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.insight-section ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.insight-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive adjustments for market overview */
@media (max-width: 768px) {
    .jobs-market-overview {
        padding: 3rem 0;
    }
    
    .jobs-market-overview h2 {
        font-size: 2rem;
    }
    
    .market-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .insight-section {
        padding: 1.5rem;
    }
}

/* Jobs Page Specific Styles */
.jobs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.filters-section {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease;
    background: var(--surface);
    color: var(--text-primary);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.filter-group input:disabled,
.filter-group select:disabled {
    background: var(--background-alt);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.filter-group:has(input:disabled) label,
.filter-group:has(select:disabled) label {
    color: var(--text-muted);
    opacity: 0.6;
}

.jobs-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.jobs-count {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sort-options {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.sort-options label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.sort-options select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    background: var(--surface);
    color: var(--text-primary);
}

.jobs-grid {
    display: grid;
    gap: 2rem;
}

.job-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    cursor: pointer;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-soft);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.job-title-section {
    flex: 1;
}

.job-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.job-company {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.job-remote-badge {
    background: var(--accent);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.job-description {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.job-requirements {
    margin-bottom: 1.5rem;
}

.job-requirements h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.job-requirements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.job-tag {
    background: var(--background-alt);
    color: var(--text-secondary);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-posted {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.apply-button {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.apply-button:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
    color: var(--white);
}

.no-jobs {
    text-align: center;
    padding: 4rem 2rem;
}

.no-jobs-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-jobs h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.no-jobs p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Footer - Minimal and Clean */
.footer {
    background: var(--surface);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Loading State */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.spinner {
    border: 2px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .startups-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .startup-card {
        padding: 2rem;
    }

    .article-header .article-title {
        font-size: 2rem;
    }

    .article-header .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-content {
        margin: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .job-header {
        flex-direction: column;
    }

    .job-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .apply-button {
        text-align: center;
    }

    .jobs-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .featured, .articles-section, .main-content {
        padding: 3rem 0;
    }
}
