/* Landing pages: index (job search) and home (product) */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,560;9..144,680&family=Inter:wght@400;500;600;700&display=swap');

body {
    background: #f4f0e8;
    color: #1c1917;
}

.landing-page {
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(102, 126, 234, 0.16), transparent 60%),
        radial-gradient(700px 380px at 100% 0%, rgba(180, 140, 90, 0.14), transparent 55%),
        #f4f0e8;
}

.display {
    font-family: Fraunces, Georgia, "Times New Roman", serif;
    font-optical-sizing: auto;
    letter-spacing: -0.035em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #4c51bf;
}

.landing-kicker {
    width: 1.75rem;
    height: 1px;
    background: #4c51bf;
}

.search-dock {
    background: #fffdf9;
    border: 1px solid #e6dfd2;
    border-radius: 1.25rem;
    box-shadow: 0 18px 50px rgba(48, 36, 18, 0.08);
}

.search-field {
    background: #f7f4ee;
    border: 1px solid transparent;
    color: #1c1917;
}

.search-field:focus {
    background: #fff;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    outline: none;
}

.stat-tile {
    background: #fffdf9;
    border: 1px solid #e6dfd2;
    border-radius: 1rem;
    padding: 0.9rem 0.75rem;
    text-align: center;
}

.stat-value {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.85rem;
    line-height: 1;
    color: #1c1917;
}

.stat-label {
    margin-top: 0.4rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #78716c;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: #f3efe6;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.upload-hero {
    position: relative;
}

.upload-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.55), rgba(244, 240, 232, 0));
    pointer-events: none;
}

.upload-card {
    position: relative;
    background: #fffdf9;
    border: 1px solid #e6dfd2;
    border-radius: 1.75rem;
    box-shadow: 0 24px 60px rgba(48, 36, 18, 0.1);
}

.upload-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: #1c1917;
    color: #faf7f2;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.closing-band {
    background: #1c1917;
    color: #faf7f2;
    border-radius: 2rem;
    box-shadow: 0 24px 60px rgba(28, 25, 23, 0.18);
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.9rem;
    border: 1px solid #d6cfc3;
    background: #fffdf9;
    color: #1c1917;
    font-weight: 600;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
    border-color: #4c51bf;
    color: #4c51bf;
    transform: translateY(-1px);
}

#explore-jobs {
    background: linear-gradient(to bottom, #ffffff, #f8faff);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid #e6dfd2;
    border-radius: 9999px;
    background: #fffdf9;
    color: #44403c;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero-badge .pulse {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(52, 211, 153, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

.hero-panel {
    position: relative;
    background: #fffdf9;
    border: 1px solid #e6dfd2;
    border-radius: 1.75rem;
    box-shadow: 0 24px 60px rgba(48, 36, 18, 0.08);
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    pointer-events: none;
}

.hero-stat-card {
    background: #f7f4ee;
    border: 1px solid #efe8dc;
    border-radius: 1rem;
    padding: 1rem;
}

.hero-stat-card .mini-label {
    color: #78716c;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-card {
    background: #fffdf9;
    border: 1px solid #e6dfd2;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(48, 36, 18, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.process-step {
    position: relative;
    background: #fffdf9;
    border: 1px solid #e6dfd2;
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.process-number {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-shell {
    background: #fffdf9;
    border: 1px solid #e6dfd2;
    border-radius: 2rem;
}

.job-explorer-card {
    background: white;
    border: 1px solid #edf2f7;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-explorer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border-color: #667eea;
}

.skeleton-job-card {
    background: white;
    border: 1px solid #edf2f7;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.skeleton-job-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.5) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.location-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: #ebf4ff;
    color: #4c51bf;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.job-title-teaser {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.company-teaser {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 1rem;
}

.job-details-teaser {
    color: #718096;
    font-size: 0.875rem;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.btn-teaser {
    margin-top: auto;
    width: 100%;
    padding: 0.75rem;
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #edf2f7;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.job-explorer-card:hover .btn-teaser {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.job-explorer-card {
    height: 100%;
}