/* FutureTalk Jobs */

:root {
    --bg-deep: #07080f;
    --ink: #f4f6fb;
    --muted: #a8b0c4;
    --line: rgba(255, 255, 255, 0.1);
    --cyan: #2fd4e8;
    --violet: #9b7bff;
    --teal: #1abc9c;
    --radius: 16px;
    --font-display: "Sora", sans-serif;
    --font-body: "Manrope", sans-serif;
    --max: 880px;
}

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

html {
    scroll-behavior: smooth;
}

body.jobs-page {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg-deep);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 55% at 15% -10%, rgba(155, 123, 255, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 10%, rgba(47, 212, 232, 0.18), transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(26, 188, 156, 0.12), transparent 55%),
        linear-gradient(165deg, #0a0d18 0%, #07080f 45%, #05060c 100%);
}

.page-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.jobs-header,
main,
.jobs-footer {
    position: relative;
    z-index: 1;
}

.jobs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 24px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #fff 20%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lang-switch {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.lang-btn {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 7px;
    cursor: pointer;
}

.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ink);
}

.jobs-hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 56px 24px 28px;
}

.jobs-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 12px;
}

.jobs-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 14px;
}

.jobs-lead {
    max-width: 38rem;
    color: var(--muted);
    font-size: 1.08rem;
}

.jobs-main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 24px 72px;
    display: grid;
    gap: 20px;
}

.job-card,
.open-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(12, 16, 32, 0.88);
    padding: 28px 26px 26px;
}

.job-card {
    border-color: rgba(47, 212, 232, 0.28);
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(47, 212, 232, 0.1), transparent 50%),
        rgba(12, 16, 32, 0.9);
}

.job-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(26, 188, 156, 0.16);
    color: #7dffe8;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.job-card h2,
.open-card h2 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin-bottom: 18px;
}

.job-tags li {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 600;
}

.job-intro {
    color: var(--muted);
    margin-bottom: 12px;
}

.job-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 22px 0 8px;
}

.job-split h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.job-split ul {
    margin-left: 1.1rem;
    color: var(--muted);
    display: grid;
    gap: 8px;
}

.apply-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--teal), #159f85);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: filter 0.2s ease;
}

.apply-btn:hover {
    filter: brightness(1.08);
}

.apply-mail {
    color: var(--cyan);
    font-weight: 600;
    text-decoration: none;
}

.apply-mail:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.apply-note {
    color: var(--muted);
    font-size: 0.95rem;
}

.open-card p {
    color: var(--muted);
    margin-bottom: 10px;
    max-width: 40rem;
}

.open-card .apply-row {
    border-top: 0;
    padding-top: 8px;
    margin-top: 16px;
}

.jobs-footer {
    border-top: 1px solid var(--line);
    padding: 22px 24px 28px;
    background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--ink);
}

@media (max-width: 720px) {
    .jobs-header,
    .jobs-hero,
    .jobs-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .job-split {
        grid-template-columns: 1fr;
    }

    .job-card,
    .open-card {
        padding: 22px 18px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
