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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
    background: #000;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    border-bottom: 2px solid #1a1a1a;
}

.logo-container {
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    letter-spacing: 0.35em;
    color: #fff;
    text-transform: uppercase;
    display: block;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

/* ===== INTRO ===== */
.intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 0;
}

.intro p {
    color: #bbb;
    font-size: 1.25rem;
    line-height: 1.7;
}

.accent {
    color: #f97316;
    font-weight: 600;
}

/* ===== SECTIONS ===== */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== JOBS ===== */
.jobs {
    padding: 60px 40px 80px;
    max-width: 1300px;
    margin: 0 auto;
}

/* --- Row: all 5 in one line --- */
.jobs-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* --- Tile (square card) --- */
.job-tile {
    position: relative;
    flex: 1;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.job-tile:hover {
    border-color: #444;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* --- Language badge (top of tile, inside flow) --- */
.tile-lang {
    display: block;
    text-align: center;
    background: #4ade80;
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 0 0 10px 10px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 auto;
    width: fit-content;
}

.tile-front {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 16px 16px;
    gap: 6px;
}

.tile-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}

.tile-subtitle {
    color: #666;
    font-size: 0.78rem;
    font-weight: 400;
}

/* --- Dropdown card (opens below tile) --- */
.tile-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    background: #151515;
    border: 1px solid #333;
    border-radius: 0 0 14px 14px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    transform: translateX(-50%) translateY(-8px);
    pointer-events: none;
    z-index: 20;
}

.job-tile:hover .tile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.tile-dropdown h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.25;
}

.dropdown-salary {
    color: #4ade80;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}

.dropdown-list {
    list-style: none;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.dropdown-list li {
    color: #bbb;
    font-size: 0.82rem;
    line-height: 1.4;
    padding-left: 14px;
    position: relative;
}

.dropdown-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #555;
}

.dropdown-list li.dropdown-highlight {
    color: #f97316;
    font-weight: 600;
}

.dropdown-list li.dropdown-highlight::before {
    background: #f97316;
}

.dropdown-desc {
    color: #888;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

.dropdown-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.dropdown-tags span {
    background: #252525;
    color: #aaa;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
}

.dropdown-btn {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.3s;
}

.dropdown-btn:hover {
    background: #ddd;
}

/* ===== FOOTER ===== */
.footer {
    background: #000;
    border-top: 1px solid #1a1a1a;
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    color: #fff;
}

.footer-brand p {
    color: #555;
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.footer-bottom p {
    color: #333;
    font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .jobs-row {
        flex-wrap: wrap;
    }

    .job-tile {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 16px 20px;
        gap: 12px;
    }

    .logo-text {
        font-size: 1.8rem;
        letter-spacing: 0.2em;
    }

    .nav {
        gap: 20px;
    }

    .intro {
        padding: 40px 20px 10px;
    }

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

    .jobs {
        padding: 40px 16px 60px;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }

    .jobs-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .job-tile {
        max-width: none;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .tile-title {
        font-size: 0.9rem;
    }

    .tile-subtitle {
        font-size: 0.7rem;
    }

    .tile-lang {
        font-size: 0.58rem;
        padding: 4px 8px;
    }

    .tile-dropdown {
        width: 260px;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 400px) {
    .jobs-row {
        grid-template-columns: 1fr;
        max-width: 200px;
        margin: 0 auto;
    }
}
